Better warning when confirming export to pdf