frontend - refactored deletestaffmodal.js back into staff.js