MV Forcing commandSkill open

So, I've stumbled upon the following piece of code looking for an answer but now I'm stuck.

I want to force the player into the SceneManager._scene.commandSkill(); menu, which works perfectly, the problem is it keeps the actor command window open and active too, forcing the player to navigate both menus at once, which obviously ends up not working (kinda crashes).

Is there any way of disabling the actor command window until going back to it? I'm using Yanfly's battle core plugin, in case is relevant.

Thanks you!
You could try the following:
JavaScript:
// Close and deactivate
SceneManager._scene._actorCommandWindow.deactivate();
SceneManager._scene._actorCommandWindow.close();

// Open and activate
SceneManager._scene._actorCommandWindow.activate();
SceneManager._scene._actorCommandWindow.open();
I've just tried it but it doesn't seem to work when forcing the skill command menu open. At least not as I've tried, tested both: putting it before SceneManager._scene.commandSkill(); and then with it after.

Original thread: https://forums.rpgmakerweb.com/threads/forcing-commandskill-open.175226/