Dialogs now reposition better