If a modal appears from a long list, then a button has a “back” action, the website scrolls all the way up to the beginning of the list, causing the user to have to scroll back down to their location.
This is only a problem on the desktop version, not mobile.