Guard against page being null in savePage

bug: 69952
Change-Id: Id04845d7b7b3f082939b9d5840960863b320800c