fires after the file dialog has opened
$$("fmanager").attachEvent("onAfterUploadDialog",function(){ // your code });