add trip/reset callbacks to a panel