Setting dirty flag for top-level dynamic attributes