adjust groups#delete to respond to html