Disabled setting of dialog result