code: @Deprecated
      public void showAlertAddDialog(HttpMessage httpMessage, int historyType) {
          ExtensionAlert extAlert = Control.getSingleton().getExtensionLoader().getExtension(ExtensionAlert.class);
          if (extAlert == null) {
              return;
          }
          extAlert.showAlertAddDialog(httpMessage, historyType);
      }
docs: Sets the {@code HttpMessage} and the history type of the
  {@code HistoryReference} that will be created if the user creates the
  alert. The current session will be used to create the
  {@code HistoryReference}. The alert created will be added to the newly
  created {@code HistoryReference}.
  <p>
  Should be used when the alert is added to a temporary
  {@code HistoryReference} as the temporary {@code HistoryReference}s are
  deleted when the session is closed.
  </p>
  
  @deprecated (2.7.0) Use {@link ExtensionAlert#showAlertAddDialog(HttpMessage, int)} instead.
  @param httpMessage
  the {@code HttpMessage} that will be used to create the
  {@code HistoryReference}, must not be {@code null}
  @param historyType
  the type of the history reference that will be used to create
  the {@code HistoryReference}
  
  @see Model#getSession()
  @see HistoryReference#HistoryReference(org.parosproxy.paros.model.Session,
  int, HttpMessage)