Implement delete functionality for goals.