fixed friends list duplication, attempt to isolate dialogs from rest of page.

Isolating the dialogs from the rest of the page kind of works. It still picks up the format/styling of the rest of the page though.

There is some talk about only using jquery ui or bootstrap. Some things from bootstrap conflict with jquery ui (such as the close icon on the dialogs, but I found a workaround for this). I like the model dialog of bootstrap, so maybe we could switch to that? http://getbootstrap.com/javascript/#modals-examples