Is `isPolymer` really appropriate here? What will happen with the dialog in the non-Polymer UI?