working on selecting popup