code: function updateNotificationIcon(index) {
              var model = models[index],
                  $notificationIcon = $dlg.find(".nav-tabs li").eq(index).find(".notification");
              if (model.notifyCount) {
                  $notificationIcon.text(model.notifyCount);
                  $notificationIcon.show();
              } else {
                  $notificationIcon.hide();
              }
          }
docs: Update & hide/show the notification overlay on a tab's icon, based on its model's notifyCount