add option to hide the search form