popover and selected component