transform search button to submit