how to make my views field link open form modal?

How add the options:

data-dialog-type=”modal” id=”my modal form id” data-dialog-options=”50%”

to my view field custom link if the rewrite result as only has link class???