corrects max height and scrolling on the modal body