Hide the search and new contact button when the form is open.