change modal to Angular modal