Use modal for scanning