To prevent the body from scrolling under an open modal, there was some JS to add a css class that stops scrolling. However, the HTML <dialog> element allows closing the modal by hitting ESC key on the keyboard. Doing that was not removing the 'overflow-hidden' class from document body, keeping the entire page "stuck" and not scrolling. Use a CSS-only solution instead (cc @3lviend).
Also fix sequence viewer modal with a lot of content by adding max height and scrolling.
To prevent the body from scrolling under an open modal, there was some JS to add a css class that stops scrolling. However, the HTML
<dialog>
element allows closing the modal by hitting ESC key on the keyboard. Doing that was not removing the 'overflow-hidden' class from document body, keeping the entire page "stuck" and not scrolling. Use a CSS-only solution instead (cc @3lviend).Also fix sequence viewer modal with a lot of content by adding max height and scrolling.