Added event firing on close

Added event firing on sidebar closing by clicking on the cross. Event can be handled in the code, for example by resetting the map or by changing view(pan/zoom). Maybe should be expanded by other events, but I need this one.