Fix triggering of 'restrictEntityPageActions' and 'blockEntityPageActions'

Don't trigger these before we have the entity (with the toolbars)
actually in place.

Bug: 68322
Change-Id: I840dda703784e31270952f4d39fb4b486cd892d2
Merge "Fix triggering of 'restrictEntityPageActions' and 'blockEntityPageActions'"