send/save last updates before leaving editor