At this point, you need to create a behavior for modal object. I suggest that you create a method named as scrollable() and in this method you could point this line of code.