void CreatePackFile() { TextInputWindow window = new TextInputWindow("New Packfile name", ""); if (window.ShowDialog() == true) { var newPackFile = _packfileService.CreateNewPackFileContainer(window.TextValue, PackFileCAType.MOD); _packfileService.SetEditablePack(newPackFile); } }