Hooked up selectedLine. You can now script a value change in the popup button or find out which line is selected.