Dialogue history rewrite WIP