Rewrite method MainController.saveTabDataToCard, that save data to model,if active tab is changed. Using hash of inputs