Forms jquerymobile into dialogbox : Send Close and refresh ?

Forms jquerymobile into dialogbox : Send Close and refresh ?

Hello,

My form is open into a dialog box...
I would like to send it (post method), close the dialog box and refresh the page.

Is there a tutorial or a sample script to do that ?, I'm a newbie and I didn't find this into this great forum ?