public boolean doBeforeRemove(Container self,
final Component component) {
if ( openedAssetEditors.containsKey( component.getId() ) ) {
GuvnorEditor rv = openedAssetEditors.get( component.getId() );
if ( rv.isDirty() ) {
component.show();
return Window.confirm( constants.AreYouSureCloseWarningUnsaved() );
} else {
return true;
}