Update document icon on document close.