Fixed copy no-document-selected.pn failure.