For this purpose you can add bootstrap modal dialog, Include bootstrap library in your project, and with following code you can open modal popup.
$('#divSummary').modal('show');
and for hiding model
$('#divSummary').modal('hide');
also for hiding model you can use following attribute on your closing control
data-dismiss="modal"