Fix the utility/msgdialog/abort test

Only minor logic tweaks.

-[Unknown]