Enhancement: Common modal container

New features:
- Code base written in CoffeeScript
- Functioning changed from modal oriented to link oriented
- Better event handling