Fix message viewer dialog test
We now have a toolbar but it is hidden by default
(cherry picked from commit c3dbc6bed31b6a455649bfef1d52209d0352e960)