Fixed widget deletion dependency check

action targets are now view models, this commit reflects that in the
dependency checker