using seconds instead of miliseconds.
fix tinyMCE being unloaded before safeguard get the chance to save the datas, throwing a JS error.