jQuery(document).ready(function () {

 jQuery('.formidable_form-gs-set-auth-expired-adds-interval').click(function () {
      var data = {
         action: 'formidable_form_gs_set_auth_expired_adds_interval',
         security: jQuery('#formidable_form_gs_auth_expired_adds_ajax_nonce').val()
      };

      jQuery.post(ajaxurl, data, function (response) {
         if (response.success) {
            jQuery('.formidable_form-gs-auth-expired-adds').slideUp('slow');
         }
      });
   });

 jQuery('.formidable_form-gs-close-auth-expired-adds-interval').click(function () {
      var data = {
         action: 'formidable_form_gs_close_auth_expired_adds_interval',
         security: jQuery('#formidable_form_gs_auth_expired_adds_ajax_nonce').val()
      };

      jQuery.post(ajaxurl, data, function (response) {
         if (response.success) {
            jQuery('.formidable_form-gs-auth-expired-adds').slideUp('slow');
         }
      });
   });

});