add some callback and dialog instances