Check dialog titles as well as contents.