res:dock:: fix dock fold and unfold when dropped to dock