Some DOM dispose enhancements