private async void Submit_OnClick(object sender, RoutedEventArgs e) { IsEnabled = false; BusyIndicator.IsIndeterminate = true; try { await _telemetryProvider.SubmitFeedback(FeedbackText.Text, Email.Text).ConfigureAwait(true); Close(); } finally { IsEnabled = true; BusyIndicator.IsIndeterminate = false; } }