Added error messages to user dialog.