putting done before cancel to get keyboard enter to submit changes