$("#dialog-message").dialog({
autoOpen: false,
modal: true,
position: ['top', 110],
width: 400,
height: 300,
resizable: false,
open: function (event, ui) {
$('#dialog-message').css('overflow', 'hidden'); //this line does the actual hiding
},
title: "<div class='widget-header'><h4><i class='icon-ok'></i>" + titulo + "</h4></div>",
buttons: [{
html: "<i class='fa fa-check'></i> Aceptar",
"class": "aceptar btn btn-successJD btn-lg",
"type": "button",
"form": "modal-form-el",
"id": "aceptarPost",