Its not the gallery component as this happens on articles without the gallery embedded.
I did some checking and found the issue is with my template. Problem does not exist on Joomla base templates. So I duplicated the articles and created a new menu item for each with the Joomla default template assigned to them.
That got rid of the text at the top but, when I group these modals I get a prev and next text link below the articles. The icons provided by modals work fine but the texts links are all messed up.
I would like to hide them via CSS.
The element is:
<ul class"pager pagenav">
I need to add "display:none;" to the CSS for the modal.
Where can I add custom CSS code to the modal window?