It seems maybe the `selectFromList()` function should be in charge of showing an hiding the contacts list.  That way clients like this won't need to know about the list's DOM ID.  Also, I can't think of a reason you would run the selection without showing the list to the user.