private void CheckIfNeedsShowSaveDialog(string modelPath, object callback)
        {
            var  allMainWindowInstaces = MainWindow.GetAllInstances();
            bool inOtherWindows        = false;

            foreach (var window in allMainWindowInstaces)
            {
                if (this.id == window.id)
                {
                    continue;
                }

                var lcoalSettingsFile = LocalSettings.GetLocalSettingFileById(window.id);
                if (File.Exists(lcoalSettingsFile))
                {
                    var content = File.ReadAllText(lcoalSettingsFile);

                    #if UNITY_EDITOR_WIN
                    modelPath = modelPath.Replace("\\", "\\\\");
                    #endif

                    if (content.Contains(modelPath))
                    {
                        inOtherWindows = true;
                        break;
                    }
                }
            }

            wrap = new CallbackWrapper(callback);
            wrap.Send(inOtherWindows ? "no" : "yes");
        }