Disable prompt while generating PDF