Represents the properties for a dialog component, including a method to close the dialog.
A function to close the dialog, which takes a result and an optional response.
Represents the properties for a dialog component, including a method to close the dialog.