Added dom modification checker