     new tabCls(tabPanel, tabButton, dialogApi, settings, name)
 
   class Panel
+    tabClass = 'uploadcare-dialog-tab'
+
     constructor: (@settings, placeholder, files, tab) ->
       @dfd = $.Deferred()
       @dfd.always(@__closePanel)

        throw new Error("No such tab: #{name}")

      tabPanel = $('<div>')
        .addClass("uploadcare-dialog-tabs-panel")
        .addClass("uploadcare-dialog-tabs-panel-#{name}")
        .insertBefore(@footer)

      tabButton = $('<div>', {role: 'button', tabindex: "0"})
        .addClass("uploadcare-dialog-tab")
        .addClass("uploadcare-dialog-tab-#{name}")
        .attr('title', t("dialog.tabs.names.#{name}"))
        .appendTo(@panel.find('.uploadcare-dialog-tabs'))
        .on 'click', =>
          if name is @currentTab
            @panel.toggleClass('uploadcare-dialog-opened-tabs')


    __addFakeTab: (name) ->
      $('<div>')
        .addClass("#{tabClass} #{tabClass}-#{name}")
        .addClass('uploadcare-dialog-disabled-tab')
        .attr('title', t("dialog.tabs.names.#{name}"))
        .appendTo(@panel.find(".#{tabClass}s"))
