 
     @objc fileprivate func deleteItem() {
 
+        deleteButton?.isEnabled = false
+
         itemsDelegate?.removeGalleryItem(at: currentIndex)
         removePage(atIndex: currentIndex)
+        {
+            [weak self] in
+            self?.deleteButton?.isEnabled = true
+        }
     }
 
     //ThumbnailsimageBlock

        if newIndex < 0 { close(); return }

        let vc = self.pagingDataSource.createItemController(newIndex)
        setViewControllers([vc], direction: direction, animated: true, completion: nil)
    }

    open func reload(atIndex index: Int) {

        }
    }

    func removePage(atIndex index: Int, completion: @escaping () -> Void) {

        // If removing last item, go back, otherwise, go forward

