added dialog for removal of card