Dialog
A modal overlay.Dialog takes no layout space and renders through a portal when open. It can contain inline content or reference a Resource Type="Page".
Signature
Attributes
Open and close
- The backdrop, Escape, and header close button call
Hide. - Opening the same Dialog repeatedly keeps a single instance.
- Dialog content shares the parent
Inputs/Data/Results/Sizescope. - Dialog content can contain buttons, tabs, containers, lists, and other nodes.
Page content
Dialog Content="{DialogPage}" reads from a Page. Pages are container resources and never render directly; see Page system.
Gotchas
- Use either
Contentor inline children, not both. Nameis a Dialog identifier, not aTarget; scripts still useTarget.- Backdrop/Escape/header close need no extra configuration.