fix dict window refresh

was still using old API
also, move this to another place.