add creation and destruction of child edit pane