Replace button is now switched to Search button after a document is modified.