a little modification for WechatImagesDownloaderDialog