Modal improvements.

- Clicking outside the modal window closes it.
- Modals open under clicked buttons.
- Modal fills the screen at mobile resolution.
- Style improvements.