added function to clear all widgets in the image-map-layer