Don't forget to remove the undo stack from the group when deleting a
node