partial implementation of close button for filters, needs some work (something is buggy...)