deposit: adaptation to new typeahead

* Fixes reseting a keyword field after
  adding a new one