Find duplicate code dialog now works