Use isOnDom helper from callAttachHook