You can do this in your success function of ajax:
$( "#dialog-message" ).html(respTxt).dialog({
modal: true,
buttons: {
Ok: function() {
$( this ).dialog( "close" );
}
}
}).css('height', 200);// <-----------------------add this and below one
$('.ui-widget-overlay').css('height', 'auto');