Make save method in add() and edit() configuable, and change default to saveAssociated

Refs #80