title: jQuery plugin SimpleModal body onclick close not working
body: <p>I'm having problems getting the SimpleModal jQuery plugin to close when the body is clicked. So far, only the 'X' button works to close it with:</p>
  
  <pre><code>$('a.modalCloseImg').hide();
  </code></pre>
  
  <p>Here is my code for launching the modalbox. Note that #login-link is the link that opens the box and #login-form is the hidden modal box.</p>
  
  <pre><code>// launch modal box
  $("#login-link").click(function(){
      $("#login-form").modal();
  });
  </code></pre>
  
  <p>I've tried adding </p>
  
  <pre><code>$("#login-form").modal(overlayClose:true);
  </code></pre>
  
  <p>but it doesn't seem to be working. (FYI that parameter is per the documentation of the SimpleModal box as seen <a href="http://www.ericmmartin.com/projects/simplemodal/" rel="nofollow">here</a>.</p>