dialog
Accessible dialog/modal built on the native <dialog> element.
Modal (default): opens in the top layer with a
backdrop and a trapped focus ring. Close it with the × button, the
Cancel button, the Esc key or a click on the backdrop.
Static: adding data-dialog-static disables
backdrop-click and Esc dismissal, so the dialog can only be
closed by an explicit action — useful for a confirmation the user must
answer.
Non-modal: adding data-dialog-nonmodal
opens the dialog with show() instead of
showModal() — no backdrop, and the rest of the page stays
interactive (e.g. a floating toolbox).