set dom from getTargetDom().