handle save empty note