Disable the Scan Pop-up when a Preferences dialog is open