handle documents opening from going back/forward through document history