The United Kingdom and the European Union are close to agreeing a Brexit deal, Brexit Secretary Dominic Raab said on Thursday.