Show an `alert` dialog if a test cannot be set to exam-mode.