private void OpenNewWindow()
        {
            var obj = App.Current as App;

            // Hide submit window
            this.Hide();

            // Initialize new summary window with first article in queue
            var summary = new SummaryWindow(obj.Articles.Dequeue());

            // Display summary window
            summary.ShowDialog();
        }
        private void ButtonNext_Click(object sender, RoutedEventArgs e)
        {
            var obj = App.Current as App;

            // Hide current window
            this.Hide();

            if (obj.Articles.Count > 0)
            {
                // Initialize new summary window with first article in queue
                var summary = new SummaryWindow(obj.Articles.Dequeue());

                summary.ShowDialog();
            }
            else
            {
                // Loop back to submission window
                var mainWindow = new MainWindow();

                mainWindow.ShowDialog();
            }
        }