override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
// Get the arguments from the bundle.
val saveType = requireArguments().getInt(SAVE_TYPE)
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
// Get the arguments from the bundle.
val saveType = requireArguments().getInt(SAVE_TYPE)