JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.js"></script>
<div id="test"></div>
<script>
$(document).ready(function() {
    $('#test').dialog({
        buttons: [
            {
                text: 'Click for an error!',
                click: $.noop()
            }
        ]
    });
});
</script>