Ticket #1386, #1412, #1458: Adjusting modals minus scrolling solution.