Undo works for Replace text field