Show popup upon clicking items according to type.