tracking combo box state (this might fail when we have more than one
combobox).