modal popup on scan