Improve modal to adapt height.