                 className: 'btn-success'
                 onDidClick: =>
                     atom.open(pathsToOpen: [installPath])
-                    @dismissNotification()
+                    @dismissNotification("MODX installation finished.")
             }]
             dismissable: true
 

        else if process.platform is 'darwin'
            path.join(fs.getHomeDirectory(), 'sites')
        else if process.platform is 'win32'
            'C:'

    validInstallPath: ->
        if fs.existsSync(@getInstallPath())

        stdout = (output) -> atom.notifications.add 'warning', output
        exit = (code) -> callback()
        process = new BufferedProcess({command, args, stdout, exit})
        process.onWillThrowError((error) -> dismiss("MODX Installation"))

    checkBuild: (buildPath) ->
        fs.existsSync(buildPath)

    config: ->
        buildPath = path.join(@getInstallPath(), '_build/')
