close funktion

Added closefunction for the attribute panel by clicking on the map