frontend - refactor of new staff modal to separate files