detect dom insertion functionality and event bubble down