Anatomy of $B\rightarrow D\bar{D}$ Decays