Added trigger when closing/hiding dropdown menu