Modal dialog example

The dialog is closed by default. Click the button with class trigger to open it. Press Esc or click “Cancel” to close.