add mouse handler with action&id's