memleak was chrome, use $q for a dialog, add new notes