Save button mostly working.