added ability to close and open topic