JSFiddle - React, Tailwind, and code Playground
by TJ VanToll
HTML
<link href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-1.10.0.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<input>
<input>
<div id="dialog">
<input autofocus>
</div>
CSS
#dialog { display: none; }
JavaScript
$( "input:first" ).on( "blur", function() {
$( "#dialog" ).dialog({
modal: true
});
});