IA Pages Index - clicking outside the dropdowns now closes them

@russellholt @jagtalon The title says everything :)