Refactor ActionMenu, generate options from model.