bcad89fd28
Add a `$scope.$applyAsync` wrapper around the "open a new document" code GitOrigin-RevId: 7c63338379053d20bd86f10d9db6855cb5c23fc3