added docking options persistence