add pre hook to TodoTaskModel