Add support for showing a modal error when a flood is detected.