This constructor will go away in future versions of the library. Use the respective remember function instead
rememberDialogState(visible)