create a new ag upon 'save'