Switch to dom-element