The user has to select some pages and then click on the "Save As" menu item in the Manage menu. If they modify the structure of the pdf (deleted, moved, copied pages), they have to use the usual save button.
import/no-commonjs
test
rimraf
fs.rmSync
rgb