Save window position.