Improve dialog positioning when using multiple monitors and when using fewer monitors than last run.