Stats update when docprops dialog is shown.