res:dock:: fix click stuck sometimes.

try to use callback to avoid stuck on click event.

Change-Id: I72e9d329f8640f2a80086da97b6a33195bee02cb