add delete button for resource