added functionality for modals at the career page