OptionalbuttonsButton labels, in order. Defaults to OK and Cancel, localized to the UI language.
OptionaldefaultIndex of the initially focused button.
OptionalmessageBody text.
OptionaltitleWindow title. Defaults to "Confirm", localized to the UI language.
OptionaltypeIcon. The task dialog shows question with the information icon.
Parameters for
dialog.confirm. Show a modal task dialog with custom buttons. Escape and the close button do not dismiss it.