Sorry, it needed dialog.destroy.
never mind (tiredness is bad)

>       dialog.run do |response|
>         if response == Gtk::Dialog::RESPONSE_ACCEPT
>           puts text_buffer.text
>         end
>       end   
>     end

-- 
Luke Worth