Add support for by_name to dom.cache
Use dom.cache by_name for form elements in popups