add edit button to Search tab