fix device selection modal