modifed load.html to grab doc_restored