handle notes save