Use ember defer to ensure payment modal is closed before opening 'thank you' modal