Dialog windows open conditionally

`PREVIEW`