finish edit by Search