Added a static manager for modal dialogs.
Created the dialog side class for modal dialogs.
Added a basic dialog class for text and buttons.
Fixed issues with the dialog system.
Another fix.
Renamed ModalManager.registerDialog(). Added docs.
Merge branch 'feature-dialog'