ToogleDialog does not use WindowGeometry, but its own code --> replace with WindowGeometry usage to fix this.