This example shows a modal dialog that is closed by default. Use the button below to open it.
Example Modal
This modal demonstrates accessible behaviors: focus is moved into the dialog when opened, tab focus is trapped inside, and focus returns to the trigger when closed. You can close the dialog by pressing Escape, clicking the close button, or clicking outside the modal content (the backdrop).