more reworking of the scanner popup showing state

Signed-off-by: john mcconnell  johnmcconnell@yahoo.com