Yanfly Quest Journal When Menu Close with X problem

So as the title suggest when I put $gameTemp.reserveCommonEvent(5) in the lunatic mode to run the common event which opens a yanflys common event menu ( which does not close with the x button btw only esc) it works when I press esc and when I select cancel. I see the comments event called when I press X but then it quickly closes the menu that's called (again the menu it calls does not close with x only esc.) I do know esc and x is cancel but then when doesn't that problem exist when I hit esc. Im using yanflys button commence event too. x is a completely different common event that has nothing to do with menus either.

Screen Shot 2022-02-01 at 9.47.02 AM.png
Screen Shot 2022-02-01 at 9.47.41 AM.png
Screen Shot 2022-02-01 at 2.53.00 PM.png
Screen Shot 2022-02-01 at 2.53.49 PM.png
Screen Shot 2022-02-01 at 2.54.17 PM.png

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-quest-journal-when-menu-close-with-x-problem.144539/