The rise of nationalism and the challenges of globalization