[[ Bug 12916 ]]  Closing the Page Setup dialog causes a crash
Merge pull request #934 from runrevsebastien/bugfix-12916

[[ Bug 12916 ]]  Closing the Page Setup dialog causes a crash