Add scope to the modal directive