Check input value in setting dialog.