store drafts to local storage upon visibility change?