add logic for chicklet popover and handling events