Bug:

When a login modal is open, closing the bottom side tab causes the browser to crash.
Steps to reproduce:
Open a page where the login modal is displayed.
Keep the modal open.
Click on the bottom item in the left sidebar to close the side tab.
The browser crashes / the page stops responding.
Expected behavior:
The side tab should close normally without affecting the modal or crashing the browser.
Actual behavior:
Clicking to close the side tab while the modal is open causes the browser to crash.
Note:
The issue only occurs when the modal window is open (see screenshot).