Implement delete functionality for topics