Added template for document preview