Hermione didn't even bother to remove the invisibility cloak when she entered the office. It might have been considered odd for a witch to follow the orders of a disembodied voice, but the Imperius Curse was still very much active. Dolores followed without complaint. Once inside the broom cupboard, she sealed the door behind them. She didn't want to risk being caught through the secret entrance.