changed exit dialog problem