allow users to duplicate document