>
        <div id="popupModal" style="display: none;">
            <div id="modalContent">
                <span class="close-btn" onclick="closeModal()">&times;</span>
                <h3 id="modalHeader" style="font-weight: bold;"></h3><br>
                <!-- This div holds the initial popupText (context for conversation) -->
                <div id="popupText" th:text="${popupText}"></div>

                <!-- Hidden input to hold and update conversation context -->
                <input id="conversa