Added support for panel editing.