added possibility to clear a panel (if nothing is selected)

see #12