title: OnClick Javascript Confirmation Window
body: <p>Why does the below still delete even if I hit cancel on the alert popup? What am I missing?</p>
  
  <pre><code>onClick="confirm(\'Are you sure you want to delete '.esc_attr($this-&gt;event_name).'?\')"
  </code></pre>