refactor rich combo to allow for documents