Bundle: Open document after adding to hierarchy.
Fixes #1012.