Modal dialog component

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