Hi,<BR><BR>I need to display modal dialog box and need to pass the output from modal window to the calling window.I tried using the function showmodaldialog but it is working only in IE.then i created a modal dialog window in javascript and i am calling the window and sending the output to the calling window.workis perfect when i am calling from Client side java script.When i am calling from server side asp code server is not waiting till the output from modal window is processed(User interaction).It is executing next statements after opening the modal window.so i am not able to execute the part of the program which is dependent on the output of modal window.Can i do something so that server waits till the userinteraction is finished(like doevents() in VB)?<BR><BR>any help will be appreciable.<BR><BR>Neelima