Validation applied on deleting groups which contain posts

Validation applied on deleting groups which contain posts
![cat268](https://f.cloud.github.com/assets/4159711/518976/80f2424c-bf0a-11e2-87df-47ab0d54a277.jpg)