Save last directory for networks/components/layouts