rework payment notes to support adding and deleting with ajax. #1684