added method hideAlert, and collapse on map dragstart