Right now a closed modal is hidden in the UI with opacity: 0 and pointer-events: none. While this seems to hide the modal and make it's children unreachable for user interaction, the modal is still in the middle of the page and some interaction is still possible. I have discovered that the resize element of a textarea overlays all other content and can be interacted with.
Setting visibility: hidden on a modal's first .container and visibility: visible on .container.open seems to fix the problem.
Tested on MacOS Chrome 96
