title: JDialog loads and causes session reset
body: <p>I tried to use JQuery JDialog to show some information to users, however, when the dialog loads, it somehow reset the session of current user. When I comment "return false;" line. A page is loaded with the info, and the session is sill there.</p>
  
  <p>I looked around the how to solve this problem, but I have not found any solution. Anyone could help please.</p>
  
  <p>html:</p>
  
  <pre><code>$('.skill_ajax').click(function() {
      var url = this.href;
      var dialog = $('&lt;div style="display:hidden"&gt;&lt;/div&gt;').appendTo('body');
      // load remote content
      dialog.load(
          url,
          {},
          function (responseText, textStatus, XMLHttpRequest) {
              dialog.dialog();
          }
          );
      //prevent the browser to follow the link
      return false;
  });
  </code></pre>