Unit test : dialogService