data now saves when the 'done' button is checked.