Issue 1248 - fix for delete dialog

This fixes one of the steps described in Issue 1248 where repeated attempts at deleting decks will always display the name of the first one in the confirmation dialog. The problem was that it never got a chance to build the dialog properly since it quit if the collection was open (which doesn't make sense).