FOR-1264: Fixed issues where the form/submission would get in a bad state when it has been reset.
FOR-1264: Fixed issues where the form/submission would get in a bad state when it has been reset.

formio/formio.js,formio/formio.js,formio/formio.js