WIP - $node->widget value does not exist when deleting. Need to find a way to get it.