             $confirm.ask(title, null, message).then (askResponse) ->
                 onSuccess = ->
                     askResponse.finish()
-                    lightboxService.close($el)
+                    lightboxService.closeAll()
+                    $scope.lightboxOpen = false
                     $rootScope.$broadcast("#{$scope.objType}form:add:success", item)
 
                 onError = ->

                    createAttachments(data).then () ->
                        currentLoading.finish()
                        close()
                        $rs[schema.model].getByRef(data.project, data.ref, schema.params).then (obj) ->
                            $rootScope.$broadcast(broadcastEvent, obj)
            promise.then null, (data) ->
                currentLoading.finish()
                form.setErrors(data)

            currentLoading = $loading().target($el.find(".add-existing-button")).start()

            if item.milestone
                sprintChangeConfirmAndSave(item)
            else
                onSuccess = ->
                    close()
                    $rootScope.$broadcast("#{$scope.objType}form:add:success", item)
                onError = ->
                    close()
                saveItem(item, onSuccess, onError)

        sprintChangeConfirmAndSave = (item) ->
