Bug 966684 - check for closemenu and widget type attributes properly in Australis menu panel, r=mconley