Added dialog ending trigger.