Fixed a dialogue issue