diff --git a/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/general/WizardWindow.java b/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/general/WizardWindow.java index 9b40bfe..db3fe5d 100644 --- a/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/general/WizardWindow.java +++ b/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/general/WizardWindow.java @@ -124,10 +124,20 @@ public class WizardWindow extends Window { backButton.addSelectHandler(selectionHandler); nextButton.addSelectHandler(selectionHandler); + closeBtnHandle(); setWidget(container); } - + protected void closeBtnHandle() { + closeBtn.addSelectHandler(new SelectHandler() { + + @Override + public void onSelect(SelectEvent event) { + fireAborted(); + } + }); + } + /** * {@inheritDoc}