add list selection listener to popup