"Save workspace layout" - fixed code structure