The YesNo dialog can be used to let the user confirm a specific action.
Its the equivalent to the js confirm function, but it is more customizable.
Methods
The following methods are available on the YesNoDialog object:
Batch(
properties )
Dismiss()
GetType() → String: “YesNoDialog”
Hide()
Show()