Modal

Accessible modal dialog with focus management and optional reusable Turbo Frame host for stacked instances

View documentation

Local modal

The trigger and modal content live together on the current page.

Frame-backed modal

The launcher targets the shared modal frame; the server response supplies its content.

Stacked overlays

A member editor opens a roles modal, which opens a destructive confirmation — three layers deep. Popovers, dropdowns and the multi-select listbox render in the top layer, so they escape the modal instead of being clipped. Esc closes only the layer on top, and focus returns to the trigger that opened it. Both layers save the same way: a normal form posts, and the server answers with a Turbo Stream that toasts and dismisses that one modal — saving roles leaves the editor underneath open.