title: ui task not acting as expected
body: <p>In the code below, I would like to display a status message while fetching some data before and not display a dialog populated with that data until the data fetch is complete. But the dialog is instead being displayed before the data gets there.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Cheers,<br>
  Berryl</p>
  
  <pre><code>ProjectSelectionViewModel vm = null;
  SetStatus("Fetching data...");
  var task = Task.Factory.StartNew(() =&gt;
      {
          vm = presentationFactory.GetProjectSelectionViewModel();
      }
                              );
  task.ContinueWith(t =&gt; SetStatus("Finished!!!"), TaskScheduler.FromCurrentSynchronizationContext());
  var userAction = uiService.ShowDialog(Strings.ViewKey_ProjectPicker, vm);
  // etc.
  </code></pre>