Option to Disable Automatic Code State Restoration When Accessing Chat History

When navigating to a previous conversation from the chat history, Cursor is now automatically restoring the code state from that conversation without asking for confirmation. Previously, Cursor would prompt users with a choice whether to revert to the historical code state or maintain the current workspace.
How to fix it? I want to manually control this behavior.