Bug 843543 - Add a null-check after ShowPrintDialog to avoid crashing.  r=smaug