Pass element to callback functions
Disable downloads, history, and attribution tabs on edit