Add replace mode in SearchPanel