get the delete button working

still need to get it working with groups