Add passing selected object to tab controller.