Setup modal functionality to be accessible globally and cleaned up gruntfile config.