JSFiddle - React, Tailwind, and code Playground

HTML

<!doctype html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>Test</title>
        <script src="http://code.jquery.com/jquery-1.9.0.js"></script>
        <script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
        <link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css"/>
    </head>
    <body>
        <div id="dialog"></div>
    </body>
</html>

JavaScript

$(document).ready(function() {
    $('#dialog').dialog({
        buttons: { 'OK': function() { alert('OK') },
                   'KO': function() { alert('KO') }
                 }
    });
});