dialog: run loaded callbacks after dialog mod_init()

(cherry picked from commit ea5e7f1c7c5f5eef4032a6869fd80a8c7295f948)