Fix dialogue test cases that were broken because they alway fails on my machine and I failed to notice that the failure was different.