Pass cancel url to close modal