Send invitation and dismiss invitation dialog on topic.html @UI
Cosmetic changes to topic.html