generic block editing with proper title hanlding