I need to disable / Turn off by default a feature before the dialog is shown (based on some selections in previous dialogs). How can I do that?