[Dialog] Modal dialog submit problem

[Dialog] Modal dialog submit problem


Hi.
I have ASP.NET page wich uses jQuery UI extensions. Cause of ASP.NET
nature there can be only one <form> on the page. So, I have html like
this:
...
<form action=...>
...
<div id="myPopup">
Test popup<br />
<input type="submit" value="Test submit" />
</div>
...
<input type="submit" value="Test submit 2" />
...
</form>
I show "#myPopup" as modal dialog. All works fine but it seems jQuery
UI dialog blocks submit event from within the modal dialog box. So
when I click "Test submit" button nothing happens - no postback. In
the same time if I click on the "Test submit 2" button (which is
located outside of the dialog box) - form got submitted.