title: Dialog showModal() does not work
body: <p>Why does this code not work in Safari?</p>
  
  <pre><code>var dialog_=document.createElement("dialog");
  dialog_.id="dialog";
  $("body").append(dialog_);
  ...
  document.getElementById("dialog").showModal();
  </code></pre>
  
  <p><a href="http://www.w3schools.com/jsref/met_dialog_showmodal.asp" rel="nofollow">showModal()</a> function should work in Safari.</p>