tests: Fix chat dialog gui test

Dialogs need special handling in gui tests. :/