Why does clicking on the 1st tab cause the 1st tab's save method to be called? Shouldn't the save method be called on the previously active tab (I'm assuming that would be the 0th tab)?