locdlg: fix for checkbox actions with ID=-1