cleaned up delete button functionality a bit. hiding popover on delete, refreshEvents on add, so no need to use $scope.events