Fix modal toggle when creating a new job