Modal Dialog

This is an example of a modal dialog component. It opens when you click the trigger button and can be closed by clicking the close button, the cancel button, or clicking outside the modal.

Modal dialogs are useful for displaying important information, forms, or confirmations without navigating away from the current page.