res:dock:: fix preview window close.

the PreviewContainer::hide is invoked more than once, however, the timer is not
cancelled.