Up until now, I had all my forms redirect after submission. However, now I have a form in a modal where the user is kept on the page after the form is submitted via AJAX (no redirect). The normal behavior is supposed to be that the confirmation message replaces the form if it's a new submission. However, this is not happening. The confirmation message is displaying above the form, as if it is an edit and not a new submission.
I unminified frontend-submission.js and found that