do not allow deletion if there are associated instances

Signed-off-by: Zach Robinson <zrobinson@pivotallabs.com>