public static void DeleteElement()
    {
        if (isNullInstance)
        {
            return;
        }
        Destroy(instance.element.gameObject);
        VideoCallPhotoManager.GetInstance.RemovePhoto(instance.element.Link);
        string filename = Path.GetFileName(instance.element.Link);

        SavePhotoSessionController.GetInstance.RemoveFile(filename);
        if (VideoCallPhotoManager.photoList.ContainsKey(instance.link))
        {
            VideoCallPhotoManager.photoList.Remove(instance.link);
        }
        instance.HideFullViewImageScreen();
    }