adding click to popover