The onClosed event is fired after the modal dialog has been closed. The result parameter passed to close() is available as args.result.
DayPilot.Modal.onClosed(args)
args.result
- custom parameter passed to close()
args.canceled
(boolean) - indicates that the modal has been closed without clicking OK
args.backgroundClick
(boolean) - indicates that the modal dialog has been closed by clicking the background mask