Force the CommandDialog to update when we get a message.  This involves
a fair amount of working around swing's update model.  Fixes #2583