<dialog>element represents a dialog box or other interactive component, such as an inspector or window.
<form>elements can be integrated within a dialog by specifying them with the attribute
method="dialog". When such a form is submitted, the dialog is closed with a
returnValueattribute set to the
valueof the submit button used.