modal form validation for LD creation