JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css">
<div id="dialog">Some Dialog content</div>

JavaScript

var myDialog = $("#dialog").dialog({
    autoOpen: true,
    width: 330,
    height: 150,
    buttons: {
        OK: function() {
            myDialog .dialog( "close" );
        },
        Abbrechen: function () { 
            myDialog .dialog( "close" ); 
        }
    }
});