void RenameCalled(object val)
        {
            var          data   = (KeyValuePair <string, string>)val;
            RenameWindow window = EditorWindow.GetWindow <RenameWindow>();

            mRenameWindow = window;
            window.ShowDialog(data.Value, data.Key, RenameCategory);
        }
 void OnDisable()
 {
     if (mRenameWindow != null)
     {
         mRenameWindow.Close();
         mRenameWindow = null;
     }
     if (mWindow != null)
     {
         mWindow.Close();
         mWindow = null;
     }
 }