res:dock:: fix some bugs.

1. send to dock failed.
2. opening animation won't be canceled.