JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
<div id="body">
    <p>Hello, world!</p>
</div>

<input type="button" class="btnButton" value="Push Me" />
<input type="button" class="btnButton" value="Push Me" />

JavaScript

$(document).ready(function(){
  
  $("#body").dialog({
    bgiframe: true,
    autoOpen: false,
    closeOnEscape: true,
    draggable: true,
    height: 300,
    modal: true,
    resizable: true
  });
  
  $(".btnButton").button().click(function(){
    $("#body").dialog("open");
  });
});