res:dock:: fix drop problem.

1. no destroy animation.
2. compact code.