 
     # Show a diff of all unsaved models
     showDiffsModal: () ->
+
       $modal = @$el.find('#diffs-modal')
 
       $body = $modal.find('.modal-body').empty()

          remoteUpdater.start().done () =>
            auth.trigger 'close'
            auth.model.trigger 'settings-changed'

                newRepo.getBranch('gh-pages').writeMany(files).done ->

                  # go there
                  auth._selectRepo(bookOwnerName, bookName).done ->

                    # once it loads, open the book metadata modal
                    require ['cs!gh-book/epub-container', 'cs!gh-book/opf-file'], (epubContainer, opfFile) ->
                      epubContainer::instance().load().done ->
                        allContent.findWhere({mediaType: opfFile.prototype.mediaType}).load().done ->
                          opf.triggerMetadataEdit()
          .fail ->
            auth.$el.find('[data-repo-missing]').hide()
            auth.$el.find('[data-error-creating]').show()
