header dropdown dismiss attrib fix

missing attribute name on the assignment of the close function to any
open menus when another menu is opened.