Set height when modal is larger than viewport.