9 ms·
sure, that works if you can use a new page. but usually if i'm throwing up a modal, it's because i need to preserve some context on the existing page that migh
by notatoad 3y ago
sure, that works if you can use a new page. but usually if i'm throwing up a modal, it's because i need to preserve some context on the existing page that might be lost by navigating away from it. so the choice is a new window, or a modal.
and at least in my use, the modal is always the better choice there. especially since the advent of <dialog>