add default callbacks on click/doubleclick entry and modal submit