Add history to state in prep for undo/redo