public Dialog_CheckMods()
        {
#if DIALOG_CHECK_MODS
            Log.Warning("Begin Dialog_CheckMods()");
#endif
            try
            {
                this.Status           = InternetConnectivity.Unchecked;
                closeOnClickedOutside = false;

                this.FindModsToSync();

#if TRACE && DIALOG_CHECK_MODS
                Log.Message("    ModsToSync Count: " + ((modsToSync == null) ? "<null>" : modsToSync.Count.ToString()));
#endif
                if (this.modsToSync != null && this.modsToSync.Count > 0)
                {
#if TRACE && DIALOG_CHECK_MODS
                    Log.Message("    Check Internet Connection");
#endif
                    RestUtil.CheckForInternetConnectionAsync((bool result) =>
                    {
#if TRACE && DIALOG_CHECK_MODS
                        Log.Warning("Callback: " + result);
#endif
                        this.Status = (result) ? InternetConnectivity.Online : InternetConnectivity.Offline;
                        if (this.Status == InternetConnectivity.Online)
                        {
                            this.Resync();
                        }
                    });
                }
            }
#if TRACE && DIALOG_CHECK_MODS
            catch (Exception e)
            {
                Log.Error("Exception: " + e.GetType().Name + " " + e.Message);
            }
#else
            catch { }
#endif
#if DIALOG_CHECK_MODS
            Log.Warning("End Dialog_CheckMods()");
#endif
        }