Closes #3399722.
Adds check whether the media entity display form exists before editing it. Otherwise logs a warning.