Hello,

     You can add lint to the existing condition on New UI Action for that particular able 

     <condition>&&(RP.getParameterValue('sysparm_userpref_module') !=sys_id of Module)

 

Regards,

Jagadeesh