public static void ButtonTypePopup(GUIContent content, Type selected, Action <Type> Callback)
        {
            var buttonText = selected != null?selected.FriendlyName() : "|NONE|";

            GUILayout.BeginHorizontal();
            if (content != null && content != GUIContent.none)
            {
                GUILayout.Label(content, GUILayout.Width(0), GUILayout.ExpandWidth(true));
            }
            if (GUILayout.Button(buttonText, (GUIStyle)"MiniPopup", GUILayout.Width(0), GUILayout.ExpandWidth(true)))
            {
                EditorUtils.GetPreferedTypesSelectionMenu(typeof(object), Callback).ShowAsContext();
            }
            GUILayout.EndHorizontal();
        }