Fixes #10207: alert-dismissable example requires contextual class