Create a new instance of the dialog with settings. More settings can be set with the returned dialog instance later.