add observer on shadow dom