changed //= require bootstrap/modal into //= require bootstrap