change dialogwindow