The alert() method displays custom HTML using a pre-configured modal dialog.
DayPilot.Modal.alert(message[, options]);
A Promise object. The success handler will receive the args parameter from onClosed event handler. The failure handler is never called.
In addition to the standard properties you can specify custom button text using the options object:
By default, the confirm() modal dialog uses height = 40 and useIframe = false.