private void addPodcast_Click(object sender, RoutedEventArgs e) { var form = new AddPodcastForm(); form.Owner = this; var result = form.ShowDialog(); if (result == true) { form.RSSFeed.Save(config.PodcastHome); RefreshPodcasts(); } }