overlayshwc
z-dialogDialog
Modal dialog with a backdrop overlay, centered/contained/full presentations, focus management, and stacked overlays.
Notes
- Content placed inside the host is adopted into the panel; an existing
.z-modal-dialogstructure is preserved. - The overlay teleports to
document.bodyunlessinlineis set;stackallows several dialogs open at once with rising z-index. - Add
.z-overflow-autoto a body section to make it scrollable within the panel.