Hey ,
I am using servoy webclient with latest release 5.2.7 .
user is opening a modal "details" dialog and clicking on one of the icons it actually download the file using plugin.file.writefile .At that time browser pops up download dialog with the message if user want to "open" or "save" or "cancel" and on clicking on any of the option it actually closes the modal "details" dialog it does not trigger an on hide or any other event .I have tested this on IE8 ,Firefox 3.5.18 and chrome 10.0.648.204 it does the same thing .
Nirav