Cmsms form builder and foundation teveal

I’m using the latest foundation install and I have implemented reveal to call my CMSMS form builder form. Everything is working great. However, when the form is filled and the user clicks the submit button, the modal closes upon submit and if you click the button that opened it again then the message comes up with the thank you message.

How can I fix this so that there is no double clicking. Model needs to stay open after submit to showcased the thank you message, then user can close the modal .