Fix linear, topic-less dialogs

Tested with Martigan (no topics) and Guill (has topics). Both work as expected.