This could by scoped to the flash / error dialog.