title: Second DisplayAlert hanging
body: <p>I am using Xamarin Forms to build an app and I am having issues with a <code>DisplayAlert</code> firing once, but hanging the second time.</p>
  
  <p>Please consider the following code:</p>
  
  <pre><code>ThisThingClickedCommand = new Command(
  async () =&gt;
  {
      var continue = true;
      if (SomeVariable.is_flagged == 0)
      {
          continue = await PageSent.DisplayAlert("User Question", "This is a question for the user", "Yes", "No");
      }
  
      if (continue)
      {
          Debug.WriteLine("This debug fires");
          var AnswerToSecondQuestion = await PageSent.DisplayAlert("Second Question", "This is a second question for the user", "Yes", "No");
          if (AnswerToSecondQuestion)
          {
              // Do more things
          }
          Debug.WriteLine("This one does not :(");
      }
  }),
  </code></pre>
  
  <p>The code above has been in a project for a long time and has always seemed to work, until a recent update to Visual Studio 2017 and subsequently some new target versions of Windows.</p>
  
  <p>When I launch the app on Windows (untested on other devices currently) and this particular bit of code runs, the first <code>DisplayAlert</code> shows with no issues, however the second <code>DisplayAlert</code> never shows and the app hangs waiting for it's answer (I assume).</p>
  
  <p>If anyone can explain how to <em>solve</em> this, i'd be grateful, but if they can explain <em>why</em> this happens as well, that would be better.</p>