Click the button below to open the modal dialog. The dialog is closed by default.
This is a modal dialog example. It traps focus while open and can be dismissed by clicking outside or pressing the Escape key.
Try focusing elements inside and pressing Tab to see focus behavior inside the modal.