refactor to support multiple modals per page

- Added "closed", "show", and "hide" events
- Added `Modal#hide` method
- Added `Modal#show` method
- Added support for multiple modals on a single page