title: How to get a callback working with SimpleModal
body: <p>I've been unable to catch the onclose from within simplemodal.  please give me a hand if you can as i'm new to jQuery...</p>
  
  <pre><code>&lt;a href="http://url/" onclick="$(this).modal({width:833, height:453}).open(); return false;"&gt;
  </code></pre>
  
  <p>works, but i would like to call a javascript function whenever the modal dialog is closed.  How do i attach, say updateTable(); onto the close event??</p>
  
  <p>I've tried </p>
  
  <p><code>&lt;a href="" onclick="$(this).modal({onClose: alert(1);$.modal.close();}).open();"</code></p>
  
  <p>and all stupd variations of this, but honestly looking at the nested functions in the example page only made me dizzy (the second example also has the href, but it doesnt let me post it here)....</p>