Improved CSS for modal positioning.