submit button dissabled on upload  and raid functions synchronized