Small improvements to submit button disabling.