refactor(dropdown): use cloneAttachFn to append children to DOM