Attempted to use coffeescript to make the modal trigger a function for #52.