JSFiddle - React, Tailwind, and code Playground
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.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<div id="dialog-form" title="test" style="display:none">
<form>
<fieldset>
<p>Date1: <input type="text" id="datepicker"/></p>
</fieldset>
</form>
</div>
JavaScript
$( "#dialog-form" ).dialog({
modal: true
});
$("#datepicker").datepicker({
changeMonth: true,
changeYear: true
});