title: $(window).on('popstate') is not working in IE
body: <p><code>$window 'popstate'</code> event is not working in IE on browser back button. Below is the code snippet which is getting used to remove some modal classes on back button.</p>
  
  <pre><code>$(window).on('popstate', function(event) {
      event.preventDefault();
      event.stopPropagation();
      $('.modal-backdrop').remove();
      $('body').removeClass( 'modal-open' );
  });
  </code></pre>
  
  <p><strong>Issue</strong> - when Modal is open and on click of browser back button trying to remove modal classes on previous page which is coming after click of browser back button.  </p>
  
  <p><strong>In chrome it is working fine but in IE it's not going inside 'popstate'</strong><br>
  Any other way to remove classes on browser back button will be appreciated.</p>