added autocomplete for choose document context