Text this: The public's impact on foreign policy