avoid double submit.
show loading icon when submitting