added isVisible to dropdown api