Transact Object Not Working for Dynamically Added Widget?

Part of my tool creates a widget and adds it as a child to a component on the main widget every time a mesh is spawned. I’m trying to make everything part of 1 undo transaction, but it seems to not want to undo creating and adding the widget as a child. In the pictures, “Main Widget” is being fed into the targets of “Added Actor List” and “Placed Actors”. When I undo, it undoes adding the spawned actor to the “Placed Actors” array, but doesn’t undo the Add Child to “Added Actor List”. What am I doing wrong here? I have tried making the “Added Actor List” a transact object on its own, but that doesn’t work either.