Added saving of modified annotations to file.