Show correct dialog depending on device.