inert for that long. A caller whose children depend on what was open
should keep them until then, or the panel empties while it fades.position: fixed (unless containment is
"container"), so it escapes a host drawer's overflow clip or transform.useModalFocus).onClose — only in the top-most open shell, and not when the
key comes from a nested open menu/picker. The keypress is consumed, so a
hosting drawer's own Escape handler does not also fire. To block closing
(e.g. while a request runs), ignore the call in onClose.open is false.
The shared modal frame: a dimmed backdrop and a centred, rounded, shadowed panel.
ConfirmDialogand every hand-built dialog draw this frame, so they look and behave alike.