JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.12/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.12/themes/black-tie/jquery-ui.css">
<div id="myDiv" title="your NEw title here">
Content content content
</div>
JavaScript
$('#myDiv').dialog({
modal: true,
title: 'Your title here',
height: 200,
width: 200,
buttons: {
OK: function() {
$(this).dialog("close");
}
}
});