JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css">
<div id="dialog" title="Basic dialog"> 
    <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p> 
</div>

JavaScript

$('#dialog').dialog({buttons: [{
    text: 'View Here', click: function() {
      $(this).dialog('close');
      window.location.hash = $(this).attr('tag');
    }
  }, {
    html: '<a href="http://google.com">View Original</a>', 
      click: function() {}
  }
]});