watch HTML changes in deep directory structures
call Application Create/Edit dialogs and buttons according to current operation
reformatted MainController for clarity and consistency
AGPUSH-628: base for Add Variant dialog