	openOption.setText(((scopeTab == null) || (scopeTabParent.getTabPane().getTabs().indexOf(scopeTab) == -1)) ? "Open tab" : "Goto tab");
	
	if (scopeTab != null) {
	    openOption.setOnAction((ActionEvent event) -> {
		if (scopeTabParent.getTabPane().getTabs().indexOf(scopeTab) == -1) {
		    scopeTabParent.getTabPane().getTabs().add(scopeTab);
		}
		scopeTabParent.getTabPane().getSelectionModel().select(scopeTab);