Move control of AppModal to root for routing

The next step is to let the Marathon app component do routing and render
modals or pages as needed.