diff --git a/vasl_templates/webapp/static/sortable.js b/vasl_templates/webapp/static/sortable.js
index f9a2822..2d3b52f 100644
--- a/vasl_templates/webapp/static/sortable.js
+++ b/vasl_templates/webapp/static/sortable.js
@@ -168,8 +168,8 @@ $.fn.sortable2 = function( action, args )
var display_name = SORTABLE_DISPLAY_NAMES[ get_sortable2_type($sortable2) ] ;
var buf = [
"OK to delete this " + display_name[0] + "?",
- "
",
- escapeHTML( caption ),
+ "
",
+ caption,
"
"
] ;
ask( "Delete "+display_name[0], buf.join(""), {
diff --git a/vasl_templates/webapp/static/utils.js b/vasl_templates/webapp/static/utils.js
index b556c1c..83a1ac1 100644
--- a/vasl_templates/webapp/static/utils.js
+++ b/vasl_templates/webapp/static/utils.js
@@ -214,6 +214,8 @@ function ask( title, msg, args )
modal: true,
closeOnEscape:false,
title: title,
+ minWidth: 250,
+ maxHeight: window.innerHeight,
create: function() {
init_dialog( $(this), "OK", false ) ;
// we handle ESCAPE ourself, to make it the same as clicking Cancel, not just closing the dialog