public void InternalShow(int id)
        {
            AdminCollectionEditNameRequest request = new AdminCollectionEditNameRequest();
            collectionId = request.id = id;

            Request.Send(request, GetNameSuccess);
        }
        private void SubmitForm(jQueryEvent e)
        {
            e.PreventDefault();
            string name = jQuery.Select("#admin-collection-editname-name").GetValue();
            if (name != "" && !submittingForm)
            {
                AdminCollectionEditNameRequest request = new AdminCollectionEditNameRequest();
                request.id = collectionId;
                request.name = name;
                submittingForm = true;

                Request.Send(request, SubmitSuccess, SubmitFailure);
            }
        }