I have a form in a web page dynamically generated and I would like to display it using a the jQuery UI modal dialog.
How can I display the modal dialog form with the remote existing form (myform.html) as content when I click on a link "Open Form"? Clicking on submit button should close the dialog form.