private void DrawDeleteButton()
 {
     if (GUILayout.Button("Delete Test", warningButtonStyle, GUILayout.Height(30)))
     {
         bool deleteTest = EditorUtility.DisplayDialog("Delete Test.",
                                                       "Are you sure you want to delete test " + TestID.stringValue + "?",
                                                       "Yes", "No");
         if (deleteTest)
         {
             QuestionDrawer.PrepareForDestruction();
             TestCreator.Instance.RemoveTest();
         }
     }
 }
 private void DrawDeleteButton()
 {
     if (GUILayout.Button("Delete Question", warningButtonStyle, GUILayout.Height(30)))
     {
         bool deleteQuestion = EditorUtility.DisplayDialog("Delete Question.",
                                                           "Are you sure you want to delete this question?",
                                                           "Yes", "No");
         if (deleteQuestion)
         {
             QuestionDrawer.PrepareForDestruction();
             TestCreator.Instance.RemoveQuestion();
         }
     }
 }