Implemented document search and replace view and logic.