add listener for typeahead on dbref when adding new