newPanel.getProvider().getDriver().fireAfterPanelPlacedInRegion(newPanel, null);
hideModalDialog();
}
};
txFragment.execute();
} else {
log.error("Instance with id <" + id + "> not found in current workspace. Cannot put panel to region " + region);
log.error("Also, provider with id <" + id + "> is not found in current installation.");
}
} else {//Create new instance and new panel, provider is given in id.