update api doc
provide call back mechanism to init file dialogs