Initial version of the error dialog