Make entity form buttons data driven