prevent empty span in a new node
[fnpeditor.git] / src / editor / views / dialog / dialog.js
index 7d9f775..642342d 100644 (file)
@@ -29,7 +29,8 @@ define(function(require) {
             this.setElement(this.template(_.extend({
                 executeButtonText: null,
                 cancelButtonText: null,
-                cssClass: ''
+                cssClass: '',
+                closeButton: true
             }, this.options)));
 
             var body = this.$('.modal-body');