wire up the editor to save note automatically