added feature that allows the plus button to automatically save the document.