 
     choice = atom.confirm(options);
     return options.buttons[choice].toLowerCase();
+
+  runProcessAfterSave: ->
+    @takeUserInput(@config.inputDialogs);
 
   takeUserInput: (inputDialogs) ->
     if inputDialogs.length > 0

  hasBeenRemoved: ->
    @configController.getMain().processControllerRemoved(@);

  # Return false if the process didn't start.
  runProcessWithFile: (filePath) ->
    if @process?
      return false;

    @fields = {};
    @options = {};


    return null;

  saveEditors: (editors) ->
    if editors.length == 0
      @runProcessAfterSave();
      return;

    option = 'yes';

    if @config.promptToSave
      option = @promptToSave(editors);

    if option == 'cancel'
      return;
    else if option == 'no'
      @runProcessAfterSave();
      return;

    promises = editors.map (e) ->
      e.save()

    Promise.all(promises).then (results) =>
      @runProcessAfterSave();
    .catch (error) -> console.error(error);

  # Prompt to ask if editors should be saved. Return 'yes', 'no' or 'cancel'
  promptToSave: (editors) ->
