s available.</p>'; // Show this if no tools have commands

                    // Handle Notes field (hide if empty)
                    const notesField = document.getElementById('modalNotes');
                    if (app.notes && app.notes.trim() !== "") {
                        notesField.innerText = app.notes;
                        notesField.parentElement.style.display = "block";
                    } else {
                        notesField.parentElement.style.display = "none"; // Hide if empty
  