Add support for opening external Documents