Add flash dismissal helpers.