changed to only allow adding objects from search tab