The layout template editor outline page loses selection context after source page is shown. Steps to reproduce:
1. open an existing diagram and open outline page
2. Select several nodes in visual editor, and see selection changes in outline page
3. switch to source view and then switch back to visual editor
4. then select nodes in visual editor and see that selection does NOT update in outline page.