moved button disable to "before"

the button get set to disabled “before” submission. I’ve moved the
check on this so it doesn’t set the button in the first place.