Add a search button to editmetadata