       else if contacts.length is 0
         new KDNotificationView
           title: "Your all contacts are already invited. Thanks!"
-        @modalTabs.showPaneByName "share"
+        if @getOptions().onlyInviteTab then @destroy()
+        else @modalTabs.showPaneByName "share"
       else
         @setTitle "Invite your friends from Gmail"
+        @show()
         @modalTabs.showPaneByName "invite"
         listController.instantiateListItems contacts
 

            you'll get <strong>250 MB</strong> free disk space for your VM, up to <strong>16 GB</strong> total."
        invite             :
          customView       : KDCustomHTMLView

    super options, data


    options.overlay       ?= yes
    options.title          = "Get free disk space!"
    options.url          or= "#{location.origin}/R/#{KD.nick()}"
    options.onlyInviteTab ?= no
    options.tabs           =
      navigable            : no
      goToNextFormOnSubmit : no
