variables from dialogModal to main and largeDevices