Don't force full height unless the modal height will extend past the window height.