Adjusted modal body to handle dynamic content.