Added edit capabilities to the htmlframe layout element.