Save documents (to localStorage)