Detail → confirmation → lightbox

Compose host-relative navigation, an alert dialog, and a family-correct Lightbox without losing dismissal order.

Local preview
Play in StackBlitz

Three layers, one dismissal stack.

Open a specimen, then try its confirmation and lightbox.

What stays true

  • NestedPanel owns positioning
  • Root families match
  • Frontmost layer owns dismissal

Try it deliberately

  • Open the confirmation and press Escape once: the detail behind it stays mounted.
  • Lightbox parts deliberately remain in the Lightbox family.