os_defcon: Remember the modes