Handle errors to show error dialog