If an event dialog is open, and then a map npc dialog is opened, the walkaway check performs normally.