public void addNewImage() {
final DataVisualization imp = new ImagePanel();
imp.getImagePane().setBorder(new EmptyBorder(0, 0, 0, 0));
imp.addImagePanelListener(new DataVisualizationListener() {
@Override
public void originalVisualizationChanged(DataVisualizationChangedEvent event) {
DataVisualization dataVis = (DataVisualization)event.getSource();
dataVis.fireSaveStateChange(true);