modified save button