adding meal rule validations and edit modal to menu item index page