PDI-11357 Unable to save changes to transformation with 'Batch size' wiped out

Set default value to batch size if it's wiped out. Also minor re-factoring of MailValidatorDialog is done.