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.result