Added:
- More to the check on whether the current action is a scan action when
cancelling.  If either the current action is a scan action or is a
list/loop action with the current action being a scan action, then the
message box prompt will appear.
Merge pull request #943 from acquaman/Issue941

Looks good to me. Nice and straight forward.