Submit Jquery Modal Confirmation

Submit Jquery Modal Confirmation

Hello. Im using the jqueryui plugin and I'm using the code for the jquery modal confirmation shown in the demo. If you see the demo, where the text is written i have a form with a couple of input fields. What I want to do is that when u press "delete all" for the form tu submit. I see the demo for the modal form, but that one has a lot of validations and when I try to modify it the code breaks and doesnt work. I only need for the form to submit when u press the button, no validation. Thanks!