Dialog windows open conditionally

These constants removed because these are not passed to `exec`.