Fix dialog box problem when using persistent mode on Massive.