Alerts are rather ugly, it would be better if there was somewhere on the page to show an error like this.