Switching everything over to jquery ui dialogs