In admin/classes when uploading a document and cancelling the process the document counter is not updated until reopening the widget. 