add required validation check to UIFileUpload