<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/dark-hive/jquery-ui.css">
<div class="record">
<p>Name: <span class="name">Chris</span></p>
<button class="editButton">Edit</button>
</div>
<div id="response"></div>
<div id="dialogContent" title="This is a dialog box">
<p>You can have whatever you need inside a dialog box and program the buttons to do whatever you like.</p>
<form action="#" method="post" id="editForm">
<input type="text" id="myInput" name="myInput" value="" />
</form>
</div>