Looks like Safari removes `position: fixed` on `dialog` elements when they are closed. Now I know.

Comments