Fix indentation
Introduce ApplicationModel
Move zoom level check into a new function
Move asset zoom dialog into a new function
Remove function variable
Relay zoom level changed with map:moved event
Remove old zoom level variable