Yep, that did it. Thanks.
When setting up the submit, under advanced, you can set it to close after submit is complete. But it only closes if submit was successful. So, in the submit event function, set the return value to false and the form stays open; set it to true, and it closes.