set chosenGroupNames to choose from list userGroups with title "Please choose a group…" with prompt theMessage default items {groupName} OK button name "Run" cancel button name "Cancel" without multiple selections allowed and empty selection allowed