Palestinians 'close to agreement'