Only set menuModel when menu is requested