     else
       false
 
+  # Private:
   cleanupItemView: (item) ->
     if item instanceof $
       viewToRemove = item

    else
      @saveItemAs(item, nextAction)

  saveItemAs: (item, nextAction) ->
    return unless item.saveAs?


    else
      @showItemAtIndex(0)

  # Public: Switches to the previous contained item.
  showPreviousItem: =>
    index = @getActiveItemIndex()
    if index > 0
