quit after save and quit button