Adjusted the modal body to handle a dynamic amount of tabbed navigation for content.