Prevent settings dialog to have height > than window.height