Dialog windows open conditionally

This variable doesn't appear to be in use.