display new popup according to selected from and to