Save workspace preshutdown