His extensive modernization program has opened the country to the outside world while preserving the longstanding close ties with the UK .