When the block "Instrumento de Avaliacao" was in insert mode and now is saved or the current record is in update mode, i.e. the user is navigating through existing records, the blocks below shall be enabled.
If the block "Instrumento_Avaliacao" is in Insert mode, the blocks below "GRUPOS" and "CRITERIOS" shall be disabled.
Pay attention: The user can navigate through the records without save it. He/she can save the record later and the logic may fail.
Please, see the image of the blocks below: