add the name of the currently attached file, if the file already exists (i.e in the edition form)
functionset_tab(tabname,cookiename){// set appropriate cookieasync_remote_exec('set_cookie',cookiename,tabname);// trigger show + tabname eventtrigger_load(tabname);}