improved search and replace panel