Re-positioning of dialog after resize event

Re-positioning of dialog after resize event

Hi guys,

would be nice if the dialog corrects its position after the browser window was resized. Perhaps you coud provide an option for that.