fixed saving issue from inside CMS with layout blocks