Fix dialogue event logging.