<div id="contactModal" class="modal" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">Contact</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <form action="<?php echo URL_APP; ?>/project/src/contact.php" method="POST" id="contactForm">
                <div id="contactModalBody" class="modal-body">
                    <div class="form-floating">
                        <textarea class="form-control" placeholder="Comments / questions / concerns" id="comments" name="comments" required></textarea>
                        <label for="comments">Comments / questions</label>
                    </div>
                    <input name="projectId" type="hidden" value="<?php echo $userProject['id']; ?>">
                    <input name="userId" type="hidden" value="<?php echo $user['id']; ?>">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                    <button type="submit" class="btn btn-danger">Submit</button>
                </div>
            </form>
        </div>
    </div>
</div>