save window position to json not to application settings