title: Making a JDialog button respond to the Enter key
body: <p>I have a JQueryDialog with a text field, an OK button and a cancel button.</p>
  
  <p>I want to be able to hit the enter key after filling in the text fields and have it do the same action as when I click the OK button.</p>