         if data.ok
             new PlanModalView({pkg: @pkg, envs: @envs, pkgs: @pkgs, actions: data.actions}).show()
         else
-            new Dialog({message: data.error}).show()
+            new DialogView({message: data.error}).show()
 
 class PlanModalView extends ModalView
 


    on_shown: (event) =>
    on_hidden: (event) => @remove()

class SettingsView extends ModalView



    on_install: (data) =>
        if data.ok
            new DialogView({type: "info", message: "#{@pkg.get('name')} was successfully installed"}).show()
        else
            new DialogView({type: "error", message: data.error}).show()

class InstalledView extends Backbone.View

