fixed bogus ref to 'RP.target.target_modal'