dialog main widget study