Load user query: New logic to load when no documents are opened