Show/hide flag dropdown on click