app: integrate the layer dialog's "Mode" label into the combo box
pdb: use boolean not int32 for booleans in the apply lens compat wrapper