Nothing specific to Foundation here.
Listen for the form's onSuccess and return false. Then you can do anything else in the listener. This is all in the Forms 2.0 docs.
We tried this and it does not work. The modal closes, event if the visitor stays on the same page.
Hence this question: Keeping the modal open and display the TY message after form fillout