The dialog role is used to mark up an HTML based application dialog or window that separates content or UI from the rest of the web application or page. Dialogs are generally placed on top of the rest of the page content using an overlay.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role