fix #30671, make link staff undoable when creating parts