title: jqgrid info dialog function onClose
body: <p>i am showing the server error message with an info_dialog.
  I would like to fire a function, when the info_dialog ist getting closed. I have tried to do it with a mouse click, but it only fires after the dialog is already closed</p>
  
  <p>first mouseclick: dialog closes, but alert is not fired</p>
  
  <p>second and every following mouseclick: alert is fired.</p>
  
  <p>I am using celledit.
  Anyone with an idea how i can fire a function, when the dialog ist getting closed?
  Thanks for your help.</p>
  
  <pre><code>errorCell:  function(serverresponse, status) {
  
      $.jgrid.info_dialog(
      $.jgrid.errors.errcap,
      serverresponse.responseText,
      $.jgrid.edit.bClose,
      { zIndex: 1500}
      );
  
  
      $(document).click(function() {
      alert( "Handler for .click() called." );
      });
  }
  </code></pre>