ConfirmationDialog dlg = new ConfirmationDialog( title, message ) {
@Override
protected void onConfirm() {
final List<? extends T> objectsToDelete = objectAccess.getElements();
new BlockingBackgroundActionRunner( SpringSupport.INSTANCE.getActiveApplicationWindow(), new BackgroundAction( idStrategy.getBaseId() + AddRemoveAspect.KEY_DELETE_BEAN ) {
@Override
protected boolean confirm() {
if ( callback != null ) {
return callback.confirm();
}