Fix Grid download and email buttons to work in FF.