What needs to be done to ensure the future of liberal democracies.