[test] - test for dialog works