res:dock:: fix preview problem.

the title of preview is not updated.