JSFiddle - React, Tailwind, and code Playground

HTML

<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>dialog demo</title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css">
    <script src="http://code.jquery.com/jquery-1.8.2.js"></script>
    <script src="http://code.jquery.com/ui/1.8.2/jquery-ui.js"></script>
</head>
<body>
 
<button id="opener">open the dialog</button>
<div id="dialog" title="Dialog Title">I'm a dialog</div>
 
</body>
</html>

CSS

body {
 background-color: #cccccc;
}

body .ui-widget-overlay{ 
    background: #222222; 
    opacity: .50; 
    filter:Alpha(Opacity=50); 
}

JavaScript

$( "#dialog" ).dialog({ 
    height: 330,
    autoOpen: false,
    modal: false                   
});
$( "#opener" ).click(function() {
    $( "#dialog" ).dialog( "open" );
});