This is a basic modal dialog. It traps focus while open and restores focus to the opener when closed.
Modal dialog component
The modal is closed by default. Click the button (with class trigger) to open it.
The modal is closed by default. Click the button (with class trigger) to open it.
Press Escape, click outside, or use the buttons to close.
This is a basic modal dialog. It traps focus while open and restores focus to the opener when closed.