fix: loading spinner while submitting form