Handle possible flash notices in a single alert element.
Manage competing alerts in a promise.
Fix csrf token problems.