Reposition dialogs when window is resized
Merge branch 'master' into v2.1