Fixed issue where it's possible to lose stored messages during copy/paste operations