fixed some dialog box issues due to new jquery