The onShow event is fired before the modal dialog is displayed. You have a chance to modify the content DOM in case of showHtml().
DayPilot.Modal.onShow(args)
args.root
- the root <div>
element that wraps the content
args.modal
- reference to the DayPilot.Modal class instance