title: How to defeat browser dialog popup when calling Wicket setResponsePage() from modal window?
body: <p>How to defeat IE and Firefox dialog popup when trying to setResponsePage() from a wicket modalWindow per below.  Dialog popup demands an answer to:  "This page is asking you to confirm that you want to leave - data you have entered may not be saved."</p>
  
  <pre><code>    AjaxLink signInContainer = new AjaxLink("signInContainer") {
          @Override
          public void onClick(AjaxRequestTarget target) {
              target.appendJavascript("Wicket.Window.unloadConfirmation = false;");
  
              modalWindow.close(target);
              setResponsePage(SignInPage.class);
              modalWindow.close(target);
          }
      };
  </code></pre>
  
  <p>-Rich</p>