JSFiddle - React, Tailwind, and code Playground
by BramVanroy
HTML
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/ui-lightness/jquery-ui.css">
<div id="dialog-modal" title="Schedule Preview" style="display:none">
<p>This is empty preview</p>
</div>
JavaScript
$("#dialog-modal").dialog({
autoOpen: false,
width: 400,
height: 200,
modal: true
}).dialog("open");