Modal Dialog Component
This example demonstrates an accessible modal dialog component. The dialog is closed by default. Open it with the button that has the trigger class.
Try keyboard interactions: Tab/Shift+Tab should stay trapped in the dialog when open, and pressing Escape closes it. Clicking the dark backdrop also closes it.