Use Modal component instead of modal

I was getting a 404 error for the file modal.js, so I've modified `Application.js` to use `Modal` instead of `modal`.