close dropdown on destroy, fixes #17275