Stupid changes.
Now a dialog is shown if there is an error.