getting the spinner on submit payment, getting the login modal to appear correctly