/pdf form building pdf + properly serving generated document