;
                });
        }

        // Select user from dropdown for adding a new member
        function selectNewMember(username) {
            document.getElementById('newMember').value = username;
            document.getElementById('newMemberDropdown').innerHTML = "";
        }

        // Kudos Modal functions
        function openKudosModal(username) {
            document.getElementById('kudosReceiver').value = username;
            document.getElementById('kudosModal').style.display = 'block';