Fixed a dialogue bug.