$scope.isErDiagramButtonsVisible = function() {
        return mySQLClientService.isConnected() && modeService.getMode() === Modes.ER_DIAGRAM;
    };