Trying to add a scene switch

Im trying to add a scene switch to my equip scene cancel. Im using an equip skills into slots on equipment system and want to push the skill equip scene after leaving the equip scene to save the player some time. Im using VE Materia plugin.

This is my current cancel code (I have a built-in skip equip command menu):
Scene_Equip.prototype.onSlotCancel = function() { this._slotWindow.deselect(); this.popScene(); };

I tried inserting a SceneManager.push(Scene_MateriaEquip); in there but when leaving the MateriaEquip scene it would kick me back to the Equip Scene. Which would just loop me back the MateriaEquip and back again.

Any help would be appreciated.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-add-a-scene-switch.152861/