Window popups and vertical scroll

When you drag an "import kml" or "import wms" window below the viewport the browser (FF and Chrome) adds a vertical scroll because of the extra content below the map. I think this is undesired.