Optionalcontainment?: ContainmentAnchor to the viewport (default — position: fixed, body portal) or to the
closest positioned ancestor (position: absolute, rendered inline). Falls
back to the nearest ContainmentProvider.
OptionaldismissOnBackdrop?: booleanClose on a click on the backdrop. Default false — a decision or a destructive confirm should not vanish on a stray click.
Called on Escape, and on a backdrop click when dismissOnBackdrop.
OptionalpanelClassName?: stringExtra panel classes — padding (the panel has none of its own, so a full-bleed hero can reach the edges), text alignment, a max height.
Optionalsize?: DialogShellSizePanel max width. Default "sm".
OptionalzIndex?: numberStacking. Default DIALOG_Z_INDEX.
Props for DialogShell.