This is an example modal dialog component. It is closed by default. Click the button to open it.
This modal is opened by clicking a button with the “trigger” class. It traps focus while open and can be closed with the backdrop, the close button, or the Escape key.
Learn more on our documentation page.