I want to populate a select component from the database and then when an item in the select component is clicked I want it to open up a popup. The issue I am having is that the list in the select component will be changing due to user interaction and I can't create predetermined click events because I won't know the name of the items in the select component.