fix(offline): Clear referer reference after save waiting doc (refs #4845)