Skip to main content

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 / Size scope.
  • 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 Content or inline children, not both.
  • Name is a Dialog identifier, not a Target; scripts still use Target.
  • Backdrop/Escape/header close need no extra configuration.