Add a editor.timeout option, to close popup in case of remote editor