I have a page where I have a Modal Dialog inside a big form, and my Modal Dialog is an inner form.
<Form> <Modal /> (as a Form) </Form>
I follow the example here to make my Dialog a form.
The problem is when I click the submit button of the Dialog, the outer form is also getting submit.
So how can I submit the Modal Dialog Form without submitting the outer form?