dated', 'user groups')
        }
        //Sync type
        setTimeout(() => { reloadPageContent(); }, 1000);
      });
    }

    // Change the groups listed in modal based on action
    function changeActionInput(){
      var actionEditInput = $("#actionEditInput").val();
    
      if (actionEditInput == "add_group"){
        $("#addGroupEditInputRow").show()
        $("#removeGroupEditInputRow").hide()
      }
      else {
        $("#addGroupEditInputRow").hide()
        $("#removeGroupEditInputRow").