private void removeOverlay(WorkbenchOverlay overlay) {
    LOGGER.trace("removeOverlay");
    view.removeOverlay(overlay.getOverlay(), overlay.getGlassPane());

    // invalidate previous event handler, if existent (when blocking)
    overlay.getGlassPane().setOnMouseClicked(null);
  }
Removes an {@code overlay} together with the {@code glassPane} from the view.

@param overlay to be removed
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/view/WorkbenchPresenter.java