Fix broken dialogue view test