Modal with focus handling

The button will launch a modal dialog.

Includes basic/naive focus handling to keep focus inside the modal, and set it back to the trigger once closed.

Example dialog

This is a modal dialog example.

In this case, the dialog mainly conveys text.