Lv_toplayer_load(lv_obj_t * obj)

I have several dialogs which is to be shown on the toplayer, I would like to create them before hand and then load them to the top layer as lv_scn_load(lv_obj_t * obj)

It can be achieved quite easily with the current functionalities too. Keep the dialogs hidden by default, move the required dialog to the top layer and unhide it.

lv_obj_set_parent(dialog1, lv_layer_top());
lv_obj_clear_flag(dialog1, LV_OBJ_FLAG_HIDDEN);