fixed crash for when save is clicked while no part is selected