Adds the possibility to remove a card from a cardpanel