When modifying the DOM, notify dom-text-mapper