issue #20154: Don't allow new button when adding documents and relations from another workspace.