added native_dialog functions