This example uses the native <dialog> element with accessible focus handling.
<dialog>
Are you sure you want to proceed with this example action? You can close this dialog with the cancel button, the close icon, or the Escape key.