Update to add conditional node delete button