This example shows a modal dialog that is closed by default. Use the button below to open it.
Additional content to demonstrate focus trapping and background scroll locking when the modal is open.
This is a modal dialog. It traps focus while open and returns focus to the trigger when closed. Press Escape to close, click the background overlay, or use the close button.
Form controls inside the modal: