adjust sizes and positions of jquery dialogs