I am showing a Bootstrap modal window for loading when performing AJAX calls. I broadcast a \"progress.init\" event when the loading modal should show and a \"progress.finis
After inspecting the element, the div with the modal-backdrop class still remains after I hit the browser back button, so I simply remove it:
div
modal-backdrop
$(window).on('popstate', function() { $(".modal-backdrop").remove(); });