Changing linear.js to show modal