mod ui: fixes #344 tricheckbox improvement