title: Closing a Modal Box on ID Change
body: <p>I'm using the SimpleModal by Eric Martin (http://www.ericmmartin.com/projects/simplemodal-demos/) at www.1tryten.com/checkout.php. The code for loading is simply:</p>
  
  <pre><code>jQuery(function ($) {
  $('#CheckoutStepAccountDetails').modal();
  
  });
  </code></pre>
  
  <p>This loads a form with 2 submit options, once the form has been submitted the class .ExpressCheckoutBlockCompleted is added to the div#CheckoutStepAccountDetails.  At this time I need the Modal to disappear.  I've tried adding the simplemodal-close class to the submit button, but then it simply closes the modal without submitting the form.  Does anyone know how I could make this work?</p>