Remove unused method in DialogType