code: function(url,ctrlr,data,opts,ctrlAs){
  					var copy = (opts && angular.isDefined(opts.copy)) ? opts.copy : _copy;
  					opts = _setOpts(opts);
  
  					return $uibModal.open({
  						templateUrl : url,
  						controller : ctrlr,
  						controllerAs : ctrlAs,
  						keyboard : opts.kb,
  						backdrop : opts.bd,
  						backdropClass: opts.bdc,
  						windowClass: opts.wc,
  						size: opts.ws,
  						animation: opts.anim,
  						resolve : {
  							data : function() {
  								if(copy)
  									return angular.copy(data);
  								else
  									return data;
  							}
  						}
  					}); // end modal.open
  				}
docs: end confirm 
  Create Custom Dialog
  
  @param	url 	string
  @param	ctrlr 	string
  @param	data 	object
  @param	opts	object