In the createDialog.js , there is an inline click event added for backdrop element DIV. below is the code,
var backdropEl = angular.element('
');
backdropEl.addClass(options.backdropClass);
backdropEl.addClass('fade in');
Basically user's chance to click outside the modal, this cause close and loss of data.
To avoid/overcome - add "backdropclick" (either true/false) as similar as backdrop, based on the flag will add the ng-click event will add to that DIV element.
Otherwise add a custom callback function when open the modal.
This could be help to improve alot.
Thanks & Regards,
Hari