HTML <dialog> Tag using the 'open' Attribute
The above example demonstrates usage of the
open attribute on the
<dialog> at the click of a button.
You can also create modal dialogs, which creates a mode where the main window can't be used until the user has interacted with the dialog.