Added logic for dropping modal to scroll height on page instead of popping in at the top of the page.