tyring to get dialog close event workin in jQuery 1.4.2 from old wiki version