add handling of display as parameter for entity edit forms