Implenting UI feedback for document upload