void map_music_Click(object sender, RoutedEventArgs e)
        {
            string music = "";

            if (Model.Instance.ActiveMap.Values.ContainsKey("music"))
            {
                music = Model.Instance.ActiveMap.Values["music"];
            }

            PickMusic musicpicker = new PickMusic(music);

            musicpicker.ShowDialog();
            music = musicpicker.SelectedMusic;
            if (music != null)
            {
                Model.Instance.ActiveMap.Values["music"] = music;
            }
            else if (!Model.Instance.ActiveMap.Values.ContainsKey("music"))
            {
                Model.Instance.ActiveMap.Values.Remove("music");
            }
        }
        void map_music_Click(object sender, RoutedEventArgs e)
        {
            string music="";
            if(Model.Instance.ActiveMap.Values.ContainsKey("music"))
                music = Model.Instance.ActiveMap.Values["music"];

            PickMusic musicpicker = new PickMusic(music);
            musicpicker.ShowDialog();
            music = musicpicker.SelectedMusic;
            if (music != null)
            {
                Model.Instance.ActiveMap.Values["music"] = music;
            }
            else if(!Model.Instance.ActiveMap.Values.ContainsKey("music"))
            {
                Model.Instance.ActiveMap.Values.Remove("music");
            }
        }