smart dialog