add helper functions for the ChoiceDialogs