The best way would be to close the dialog and create a new one again. (from outside) Alternative make a new function that set the default values and call that when u want to "reset"