removed modal error on doc upload