cardlg: fix for read only ID