Bring back clearing of undo stack when remote change is received GitOrigin-RevId: f18b1b4c1af0ab0c8563c3670c73d75afa6d8345