Fix `this` context for dashboard accessors

At the moment, dashboard accessors are given a `this` context for the current DOM element they are being accessed for, when they should be getting the current dashboard DOM element they are being accessed for.
Wondering if we can find a better name for this function? Maybe ``create_widget`` or ``widget_data``?