Add delay to text editor saving