Change factory for valor to handle the name of the dialog.