submit button disable moved into ajax logic