Restructured adding deck functions and added buttons/alert dialogs