Close preview window automatically on InsertLeave