<div>I&#39;ve seen javascripts which does something like your talking about.</div>
<div>&nbsp;</div>
<div>Basically the origional page calls a function to determine if it should submit, this produces a popup html page which the user can do anything they want with. Once the user select the exit path from the page it closes and the return value of the window is captured by the origional window and determins what to do next.</div>

<div>&nbsp;</div>
<div>You need to add the next few lines in you original page function that is calle on submit</div>
<div>&nbsp;</div>
<div>rtn = window.openModalDialog(X1);</div>
<div>&nbsp;</div>
<div>if (rtn != &#39;/* determine if return value is confirm | yes | no | reject */ ) {</div>
<div>
<div>&nbsp;&nbsp; document.form.action=X2; 
<div>&nbsp;&nbsp; document.form.method=&#39;get&#39;; 
<div>&nbsp;&nbsp; document.form.submit();</div>
<div>}</div>
<div>&nbsp;</div>
<div>In the popup page that X1 displays you have the following javascript function and link it to onunload</div>
<div>&nbsp;</div>
<div>function shutdown() {</div>
<div>&nbsp; window.returnValue=/* determine what should be returned */;</div>
<div>}</div>
<div>&nbsp;</div>
<div>&lt;body onunload=&quot;shutdown();&quot;&gt;</div>
<div>&nbsp;</div>
<div>I hope you can gain some understanding, personally I try to avoid the web front end of all the java applications i&#39;ve worked on. I don&#39;t have an eye for graphics so everything looks rubbish.</div>
<div>&nbsp;</div>
<div>John</div>
<div>&nbsp;</div>
<div>&nbsp;</div></div></div></div>