Merge "Terminate DocumentsUI opened for the specific root." into nyc-dev