enable search when user hits submit