title: JQuery Modal Dialog Form Submission
body: <p>I have a JQuery Modal Form and when i add the submit event, it cannot display as dialog but rather than embedded into browser window. If I uncomment the click event below, it will embedded into browser window rather than show as dialog. </p>
  
  <pre><code>$(document).ready(function(){
  
          //$("#moveTicketBtn").click() {
          //  $("#moveUnknownTicket").submit();
          //};
  
  
          $("#moveUnknownTicketDialog").dialog(
          {
              title: "Move Unknown Ticket",
              autoOpen: true,
              modal: true, 
              resizable: true, 
              stack: true, 
              width: 500, 
              height: 350 
          }); 
  
  
  
  
      });
  </code></pre>
  
  <p>Does anyone have any idea why it is like this? Please help. Thanks. </p>
  
  <p>EDIT Question: </p>
  
  <p>I have a form inside this dialog and upon submission(onsubmit, onblur) the javascript is not called. What is the reason?  </p>