When unlinking IDs like GN tree, materials, etc. undo step is not created. To fix this, assign `undo_push_label` a string value for registering an undo-step (with the help of `ED_undo_push`) Pull Request: https://projects.blender.org/blender/blender/pulls/108452