enable and disable submit button while ajax is on