adding popover and typeahead