The leaflet map will now send .close to the event source when the 'state' (ui-view) is changed.