title: Stop Postback after using JQuery Dialog?
body: <p>I have a JQuery Dialog that is opened when a button is clicked.  The first time around, it should do a postback, but when the dialog closes and I click the refresh button of the broswer, it sends the data again and duplicates the data I just entered.  Should I add a return false somewhere so it doesn't postback when the dialog is closed.  Here is the script:</p>
  
  <pre><code>$(document).ready(function () {
      $('#showTerms').click(function () {
          $('#terms').dialog({
              closeOnEscape: false, modal: true, width: 650, height: 400, title: 'Create New Group'
          });
          $('#terms').dialog('open');
          $("#terms").parent().appendTo($("form:first"));
      });
  });
  </code></pre>