Mary Dillion's leadership was instrumental in keeping Ulta Beauty relevant in the age of online buying and struggling brick-and-mortar stores.