added the modal function for most stuff on dashboard

This makes it so the views that deal with events and invitations on the dashboard come on as popups.  Also, the account via the nag bar does as well.