Fix empty newDocument
on page.reload
#1387
+6
−1
Merged
newDocument
on page.reload
#1387