Self submitting ajax form in dialog fail

Self submitting ajax form in dialog fail

Hello

It seems that if there is a self submitting form in dialog with POST as method, there will be no post request when submitting the form.
How to reproduce:
 - Create a dialog
 - Create a form inside the dialog, with method=post, and action to same page that form itself is (self-submitting).
- Submit the form
- You will notice that there will be NO post to the server, there will happen "pagebeforechange" etc. events, but no animations etc. visible change to user occur.