JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<div class="four columns">
  <h4>
    <a id="OpenDialog" href="#" >Click to open Dialog</a>
  </h4>
  <img src="http://placehold.it/350x150" />
  <div class="dialog" title="Dialog title">dialog text</div>
</div>

CSS

.dialog {
    display:none;
}

JavaScript

$("a").click(function(event) {
  $(this).parent().parent().children(".dialog").dialog({
    close: function( event, ui ) {
      $('.dialog').dialog('destroy');
    }
  });
});