Error CS1519: Unexpected simbol 'if' in class, struct, or interface member declaration

Hi all, i was making NPC Dialog and i had an error: “NPC_Dialog.cs(33.10):Unexpected simbol ‘if’ in class, struct, or interface member declaration”
here is the code:

using UnityEngine;
using System.Collections;

public class NPC_Dialog : MonoBehaviour {
	public string[] AnswerButtons;
	public string[] Questions;
	bool DisplayDialog = false;
	bool ActivateQuest = false;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	void OnGUI (){
				GUILayout.BeginArea (new Rect (700, 600, 400, 400));
				if (DisplayDialog && !ActivateQuest) {
						GUILayout.Label (Questions [0]);
						GUILayout.Label (Questions [1]);
						if (GUILayout.Button (AnswerButtons [0]))
								ActivateQuest = true;

						DisplayDialog = false;
				}
				if (GUILayout.Button (AnswerButtons [1])) {
						DisplayDialog = false;
				}
		}
	if (DisplayDialog && !ActivateQuest){
		GUILayout.Label(Questions [2]);
		if (GUILayout.Button(AnswerButtons [2])){
			DisplayDialog = false;
		}
	}

	GUILayout.EndArea();


		}

	void OnTriggerEnter(){
		DisplayDialog = true;
		}
	void OnTriggerExit(){
		DisplayDialog = false;
		}

}

                            **Sorry for mistakes**

delete the closing brace on line 32

if you format your code correctly, you’ll be able to spot things like that a lot more easily.

mh why did in game quostions didt shown up like whey did in tutorial?