use a progress indicator when creating a document from template