StateModal: Handled `initializeMachine` in `turnOnMachine` and removed it.
AppController: Passed appView to MachineStateModal as container.
IDE: Introduced IDE.ModalView.

It's a blocking modal view and it will placed into appView instead of document's body.