Custom module inside the task bar

i want to add my custom module inside the task module .Like when i want to assign a task to a lead i want to assign that module as a task