Use Angular for modal, refactor.