Dialogs
Modal overlays that demand user attention and block background interaction.
Dialogs
Dialogs overlay the user interface and blur out the background, demanding the user's attention.
Dialogs inherit methods from Groupboxes therefore you can call all standard Groupbox methods (AddToggle, AddInput, AddSlider, etc.) on the returned Dialog instance to build custom interactions directly into the Dialog.

Prop
Type
Custom Button Example
To configure custom footer buttons, specify a dictionary mapped to their properties in FooterButtons. You can natively assign a WaitTime to any button, and Obsidian will render an animated progress bar preventing interaction until the timer expires.
Methods
Dialogs inherit all methods from Groupboxes. You may use AddToggle, AddInput, AddDropdown, and so forth directly on the Dialog instance itself. The methods below are unique to Dialogs.
SetTitle
Update the dialog title dynamically.
| Arg Idx | Argument Description | Type | Default |
|---|---|---|---|
| 1 | New title of the dialog | string | nil |
SetDescription
Refresh the descriptive text dynamically.
| Arg Idx | Argument Description | Type | Default |
|---|---|---|---|
| 1 | New description of the dialog | string | nil |
AddFooterButton
Programmatically inject a new footer button into the dialog.
| Arg Idx | Argument Description | Type | Default |
|---|---|---|---|
| 1 | Dictionary Index Reference | string | nil |
| 2 | Dialog Button Configuration Table | DialogButtonInfo | nil |
RemoveFooterButton
Programmatically remove an existing footer button from the dialog.
| Arg Idx | Argument Description | Type | Default |
|---|---|---|---|
| 1 | Dictionary Index Reference | string | nil |
SetButtonDisabled
Change the disabled state of a specific footer button dynamically.
| Arg Idx | Argument Description | Type | Default |
|---|---|---|---|
| 1 | Dictionary Index Reference | string | nil |
| 2 | Whether the button should be disabled | boolean | nil |
SetButtonOrder
Change the display order index of a specific footer button dynamically.
| Arg Idx | Argument Description | Type | Default |
|---|---|---|---|
| 1 | Dictionary Index Reference | string | nil |
| 2 | New Layout Order | number | nil |
Dismiss
Explicitly close and destroy the dialog and all its visual child elements.