Dry run works if window is closed