cleanup unneeded resources
fixed detailsdialog issues on missing photo date
fixed widget disposed exception