I need to allow users to drag and drop elements from the modal to the background.
This is my current modal, it works ok but does not allow me to interact with background elements:
var asideInstance = $aside.open({
templateUrl: '/static/calendr/html/aside.html',
backdrop: false,
controller: function($scope, $modalInstance, events) {
$scope.events = events;
$scope.ok = function(e) {
$modalInstance.close();
e.stopPropagation();
};
$scope.cancel = function(e) {
$modalInstance.dismiss();
e.stopPropagation();
};
},
placement: 'right',
size: 'lg',
resolve:{
events: function() {
return $scope.events;
},
}
});