Implement error dialog for PDFKit errors