add topic names to ajax flash messages