added delete group and restricted permissions for edit groups
added delete condition
refactored, all delete modal now uses base/delete_modal.html