Replace creates undo item