   </div>
                    </form>
                `;
                
                // Handle form submission
                document.getElementById('editCaseForm').addEventListener('submit', function(e) {
                    e.preventDefault();
                    saveCase(caseID, new FormData(this));
                });
            })
            .catch(error => {
                content.innerHTML = `
                    <div class="rc-alert rc-alert-error">
                        <i class="bi bi-