added modal and ajax rendering for different job types