Implemented adding/updating/deleting of goals in the new goals widget.