refactored entity edit page
small fix to controller logic, added event names to model, adjusted tabs