Change the dialog window.