Added onCasesLoaded dialog