add test for DialogService