acutally I only meant to change `dismiss` so I'll revert this line.