Controlling two-step multimode switching of dihydroazulene photoswitches.