private function triggerClientMethod($method)
{
$cs = $this->getPage()->getClientScript();
$code = "jQuery(document).ready(function() { jQuery('#" . $this->getClientId() . "').dialog('" . $method . "'); })";
$cs->registerEndScript(sprintf('%08X', crc32($code)), $code);
}