@ZER0 we should check that the xul element state is correct here too.