Put the icon in the link and truncate the too long link text
Keep in js the last path when we open or saveas