I believe the spec has changed on this point and that a when the template's content document and the document are different documents, they should not share a browsing context--see the links posted on crbug.com/323867