Re-enabling the submit button when there are errors