add the dialwidget.