refactor(dropdown): only add open class if parent has dropdown class