If you have a dialog on your page / screen and are trying to figure out whether ...

@aardrian@toot.cafe

If you have a dialog on your page / screen and are trying to figure out whether it should close when a user clicks / taps outside (or hits Esc), I tried for some guidance:
adrianroselli.com/2026/08/shou

Note: I am not an authority on dialogs. I haven’t been certified by the zoning board.