migrated contribdialog and backup/restore to dialogfragments