Updated populateModal to empty() / destroy existing html to help clean up DOM before adding new elements.