Converted FlagAddForm to an EntityFormController.