JSFiddle - React, Tailwind, and code Playground

HTML

<div id="MainForm" class="keeper" style="background-color:blue;color:white">
    <div id="MoveItHere"></div>
    here is the inside of the keeper
	<div class="divDialog" >
	The content of the dialog        
	</div>
</div>

JavaScript

$('.divDialog').dialog({appendTo: '#MainForm', modal: true, show: 'slide', title: 'Please Enter Information Below', width: 200, 
create: function( event, ui ) 
 {
    $("#MoveItHere").html($(this).parent());
 }
});