This is more of a workaround than a direct answer to the question but if you use the separate chat window or the "continue in chat window" then it behaves more as expected and opens the edits in the active document