Fix issue in the django_modal_view.js about the handling of redirect response.