Component prev = contents.get(CHILD_ID);
if (prev != null && prev instanceof BasePanel) {
((BasePanel)prev).cleanup(target);
}
target.add(contents.replace(panel));
UrlFragment uf = new UrlFragment(target);
uf.set(f.getArea().name(), f.getType());
panel.onMenuPanelLoad(target);
}
if (dev != null){
target.add(dev);
}