public ListSelection(GameWindow window, IEnumerable<INamedItem> items, string title)
        {
            InitializeComponent();

            DismissOnSelection = true;
            Title = title;

            window.DisableFocusPopup();
            Closed += (o, e) => { window.EnableFocusPopup(); };

            List.ItemsSource = items;
            if (items.Count() > 0)
                List.SelectedIndex = 0;
            Focus();
        }