add close button to mini cards, improve css of buttons