Return 1 instead of 0 for luaopen_dialog()