Fix disabling of form submit button