Dialog fix