OptionalcloseOnInteractOutside?: booleanOptionalcontainer?: RefObject<HTMLElement | null>Portals into this element instead of the body (e.g. a sized scope, AUDIT 2.2).
Optionalplacement?: Placementend docks the dialog at the viewport's block end (e.g. a chat panel) and start hangs it from the top (e.g. a
picker whose list grows downward) instead of centring it; the Root's placement otherwise.
Optionalscrim?: booleanfalse drops the scrim and lets pointer events through around the dialog, for a non-modal (modal={false})
dialog that leaves the page usable.
Optionalsize?: SizeOverrides the size inherited from the trigger's nearest sized ancestor (Phase 4 decision 2); md without one.
falsekeeps the dialog open on a click outside, e.g. while it holds unsaved input; Escape still closes it.