Started an entity-component model for modal windows.