In

ng bootstrap Modal before dismiss