When clicking the button with mods that pause the game when GUI's pop up (maybe Factory Planner) the game hard locks. The only way to close the game is to open Task Manager and End Task.
Edit: I am no longer sure the cause of it is from a mod that pauses the game when the GUI opens. I have dozens of mods installed and am having issues narrowing it down.