Implements save action for word and sentence panels.