Fix document upload form