On time-dependent quasi-exactly solvable models