regression from PR #19283: custom close autocommands for the preview window were not cleaned up after the window was closed.