A few days after the July 7 London bombings , I was riding the F train home in Brooklyn in the late afternoon when a New York City police officer walked past me , opened the sliding door between the cars of the moving train and then tried to open the door of the next car .