spinner on submit