save and restore detail_docks.