[Inside <worksite_install>/includes/download.js]function defaultDownloadCallback(){ //code here that opens the document on the client machine closeDialogWindow({url:'http://www.google.com'})}