Changed 'model' -> 'data' in widgets API.
Flattened widget dialog configuration.
Removed widget listeners API, reduced to widget.init().