missing-val-dialog.c: fixed bug #45419 - added value type checks