public bool ShowSettings()
        {
            SessionSettings   editableSettings = new SessionSettings(this.Settings);
            ExtensionSettings settingsWindow   = new ExtensionSettings();

            settingsWindow.DataContext = editableSettings;
            bool?result = settingsWindow.ShowDialog();

            if ((result.HasValue) && (result.Value))
            {
                this.Settings.CopyFrom(editableSettings, false);
                SaveSettings();
                return(true);
            }
            return(false);
        }