How to hide this message, automatic click in a continue or cancel
I suggest you read this, which is very close to your question. In conclusion, you need to use a return HttpResponseRedirect, even if you are only redirecting to the same view.
More related question from Stack Overflow please click here.