More JQuery UI dialog migration