My form's 'Submit' button freezes