API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/messaging/ModalDialog.js