Modal Dialog Example

This example shows a modal dialog component that opens when clicking the trigger button and closes when clicking the close button, overlay, or pressing Escape.