remove detected object property and relationship on undo