issue 1554

First deck name is shown twice when deleting two decks. Fixed by
removing dialog after it is closed instead of just dismiss.