move DidSearch activation step recording to central submitSearch function
Created by: sqs
This makes it possible to have a query input without a SearchButton (previously the activation step was recorded in the onClick handler of the SearchButton, which requires it to be in the form).