compiling simpledialog finally works