Add behaviour to dropdown