show error in dialog