add jquery dialog box event listing