started on form validation with add tab modal. needs work on file input validation