Please review my new pull request about lazy load DOM nodes

https://github.com/mozilla-b2g/gaia/pull/12547

This contextmenu-dialog have to be implemented like my code does