et.dataset.jobId;
        const form = document.getElementById('reject-job-form');
        // Set job ID in the form action
        form.setAttribute('hx-put', `/dashboard/moderator/jobs/${jobId}/reject`);
        htmx.process(form);
        toggleModalVisibility('reject-modal', "open");
      });
    });

    // Close reject modal
    const closeRejectModal = document.getElementById('close-reject-modal');
    if (closeRejectModal) {
      closeRejectModal.addEventListener('click', () => {
        toggleMod