Amol new autosave directive

also need a hasRestore, to conditionally show the button