Added the ability to capture user input from Query Interface on 'enter' keydown.