Issue #2544018 by Dave Reid: Disable the 'Edit Entity' contextual menu if the embedded entity was not embedded using a valid button.