Fixed bug which caused dialog widows to "Stack"