title: Blazor - show confirmation dialog before delete/update?
body: <p>In the following Blazor (server-side) code snips. How to prompt the confirmation dialog?</p>
  
  <pre><code>&lt;tbody&gt;
      @foreach (var r in lists)
      {
          var s = r.ID;
          &lt;tr&gt;
              &lt;td&gt;@s&lt;/td&gt;
              &lt;td&gt;&lt;button class="btn btn-primary" @onclick="() =&gt; DeleteSymbol(s)"&gt;Delete&lt;/button&gt;&lt;/td&gt;
          &lt;/tr&gt;
      }
  &lt;/tbody&gt;
  
  @code {
      async Task DeleteSymbol(string id)
      {
          // Get confirmation response from user before running deletion?
          // Delete!
      }
  }
  </code></pre>