German Chancellor Angela Merkel said on Friday that she wanted the European Union to have a close relationship with Britain when it leaves the bloc and added that the allies should work together closely on security and defence in the future.