buttons, saving

saving content to file.
json not quite right.