Correct dimiss example because the code works now