anchor.diff:                  location.href = redirectURL;
               }
           });
  +    }
  +
  +    function updateBeanAndPostWithConfirmation(postURL, data, redirectURLOnSuccess) {
  +
  +        var serviceProvider = document.getElementById("spName").value;
  +        var configurationType = postURL.indexOf("sso-saml") !== -1 ?
  +        "SAML2 Web SSO Configuration" : "OAuth/OpenID Connect Configuration";
  +
  +        function doDelete() {
  +            updateBeanAndPost(postURL, data, redirectURLOnSuccess)
  +        }
  +
  +        CARBON.showConfirmationDialog("Are you sure that you want to remove " +
  +         configurationType + " from the service provider " + serviceProvider + "?",
  +                               doDelete, null);
       }
   
       function updateBeanAndPost(postURL, data, redirectURLOnSuccess) {
  
positive.code: 
  
                                                              <a title="Delete Service Providers"
                                                                 onclick="updateBeanAndPost('../oauth/remove-app-ajaxprocessor.jsp',
                                                                     'consumerkey=<%=Encode.forUriComponent(appBean.getOIDCClientId())%>&appName=<%=Encode.forUriComponent(spName)%>&spName=<%=Encode.forUriComponent(spName)%>',
                                                                     'configure-service-provider.jsp?action=delete&spName=<%=Encode.forUriComponent(spName)%>&oauthapp=<%=Encode.forUriComponent(appBean.getOIDCClientId())%>');"
                                                                 class="icon-link"
  
negative.code:                                                            class="icon-link"
                                                             style="background-image: url(../admin/images/edit.gif)">Edit</a>
                                                          <a title="Delete Service Providers"
                                                             onclick="updateBeanAndPostWithConfirmation('../sso-saml/remove_service_provider-finish-ajaxprocessor.jsp',
                                                                 'issuer=<%=Encode.forUriComponent(appBean.getSAMLIssuer())%>&spName=<%=Encode.forUriComponent(spName)%>',
                                                                 'configure-service-provider.jsp?action=delete&samlIssuer=<%=Encode.forUriComponent(appBean.getSAMLIssuer())%>&spName=<%=Encode.forUriComponent(spName)%>');"
                                                             class="icon-link"
  