added google analytics and a bug fix to notes modal