Create util class form prompt dialogs