static extern int dialog_add_button(IntPtr dialog, string label, bool enabled, string id, bool visible);