Removing dialog when trying to delete last shelf