add auto load file dialog initializer example