Makes it so that the tab closes when the user creates a deck.