Fixed a thing up in the WindowDialog class.