the_content() keeps repeating itself

Solved. This was due to reveal using an ID (see myModal ID) and iterating the same ID over and over again. As a fix, I used:

id="modal-<?php echo get_the_ID(); ?>"

This has solved my issue of the_content() repeating its first iteration over and over.